Skip to content

Commit

Permalink
Merge branch 'arakoodev:main' into batch_upsertion_join_table
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthSrivastava authored Sep 16, 2023
2 parents e319a0a + 7c1727b commit bf0d49f
Showing 1 changed file with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.MethodOrderer;
import org.junit.jupiter.api.Order;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInfo;
import org.junit.jupiter.api.TestMethodOrder;
Expand All @@ -36,25 +35,6 @@ public void setup() {
System.setProperty("server.port", String.valueOf(port));
}

@Test
@DisplayName("Test WikiContent Method Returns WikiResponse")
@Order(1)
void wikiControllerTest_TestWikiContentMethod_ReturnsWikiResponse(TestInfo testInfo)
throws InterruptedException {

logger.info("======== {} ========", testInfo.getDisplayName());

// Prepare test data
WikiEndpoint wikiEndpoint = new WikiEndpoint();
TestObserver<WikiResponse> test = wikiEndpoint.getPageContent("Barack Obama").test();

test.await();

logger.info("{}", test.values().toString());

test.assertNoErrors();
}

@Test
@DisplayName("Test WikiContent Method Handles Exception")
@DirtiesContext
Expand Down

0 comments on commit bf0d49f

Please sign in to comment.