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 de5b863 commit b3f5701
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/test/java/com/whatsapp/api/MockServerUtilsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ public void setUp() throws IOException {

@AfterEach
public void tearDown() throws IOException {
mockWebServer.close();

mockWebServer.shutdown();
mockWebServer.close();
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import mockwebserver3.RecordedRequest;
import org.json.JSONException;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.skyscreamer.jsonassert.JSONAssert;
import org.skyscreamer.jsonassert.JSONCompareMode;
Expand All @@ -24,7 +23,7 @@
import java.net.URISyntaxException;

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

class WhatsappBusinessCloudApiTest extends MockServerUtilsTest {

private final String PHONE_NUMBER_1 = "121212121212";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import mockwebserver3.RecordedRequest;
import org.json.JSONException;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.skyscreamer.jsonassert.JSONAssert;
import org.skyscreamer.jsonassert.JSONCompareMode;
Expand All @@ -30,7 +31,7 @@
import java.util.Collections;

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

@Disabled
class WhatsappBusinessManagementApiTest extends MockServerUtilsTest {

private final String API_VERSION = getApiVersion().getValue();
Expand Down

0 comments on commit b3f5701

Please sign in to comment.