Skip to content

Commit

Permalink
FIXED WikiClientTest (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
hemantDwivedi authored Sep 15, 2023
1 parent 2969024 commit 29c94b2
Showing 1 changed file with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,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 29c94b2

Please sign in to comment.