Idiomatic refactor (#2063)
* StringToCharStream * Spring integration tests * Spring integration tests
This commit is contained in:
committed by
GitHub
parent
53f4ec5f87
commit
fe11e8f7d4
+2
-1
@@ -16,8 +16,9 @@ public class VertxSpringApplicationIntegrationTest {
|
||||
private TestRestTemplate restTemplate = new TestRestTemplate();
|
||||
|
||||
@Test
|
||||
public void givenUrl_whenReceivedArticles_thenSuccess() {
|
||||
public void givenUrl_whenReceivedArticles_thenSuccess() throws InterruptedException {
|
||||
ResponseEntity<String> responseEntity = restTemplate.getForEntity("http://localhost:8080/api/baeldung/articles", String.class);
|
||||
|
||||
assertEquals(200, responseEntity.getStatusCodeValue());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user