Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Bindambc committed May 6, 2024
1 parent c242018 commit 623032e
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 114 deletions.
7 changes: 0 additions & 7 deletions src/test/java/com/whatsapp/api/MockServerTestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@

public class MockServerTestUtils extends TestUtils {

public MockWebServer mockWebServer;

public String baseUrl;

public WhatsappBusinessCloudApi whatsappBusinessCloudApi;

public WhatsappBusinessManagementApi whatsappBusinessManagementApi;


}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.whatsapp.api.impl;

import com.whatsapp.api.MockServerTestUtils;
import com.whatsapp.api.TestUtils;
import com.whatsapp.api.WhatsappApiFactory;
import com.whatsapp.api.configuration.ApiVersion;
import com.whatsapp.api.configuration.WhatsappApiConfig;
Expand Down Expand Up @@ -28,7 +29,14 @@

import static com.whatsapp.api.configuration.WhatsappApiConfig.getApiVersion;

public class WhatsappBusinessCloudApiTest extends MockServerTestUtils {
public class WhatsappBusinessCloudApiTest extends TestUtils {
private MockWebServer mockWebServer;

private String baseUrl;

private WhatsappBusinessCloudApi whatsappBusinessCloudApi;



private final String PHONE_NUMBER_1 = "121212121212";
private final String PHONE_NUMBER_ID = "888888888888";
Expand Down Expand Up @@ -66,7 +74,7 @@ public void setUp() throws IOException {

whatsappBusinessCloudApi = factory.newBusinessCloudApi();

whatsappBusinessManagementApi = factory.newBusinessManagementApi();


}

Expand Down
Loading

0 comments on commit 623032e

Please sign in to comment.