Kirti Deo "Spring Webflux"

This commit is contained in:
Kirti Deo 2018-07-15 20:19:50 +05:30
parent cf4623957b
commit 7beadb7d70

View File

@ -20,7 +20,7 @@ public class SpringWebfluxServerAppTest {
} }
@Test @Test
public void testGetTrainSchByName() { public void whenGetTrainSchByNameIsCalled_ThenReturnScheduleForTheTrain() {
this.webTestClient.get() this.webTestClient.get()
.uri("/trainschedule/Heartbeat:") .uri("/trainschedule/Heartbeat:")
.accept(MediaType.APPLICATION_JSON_UTF8) .accept(MediaType.APPLICATION_JSON_UTF8)