Polish contribution

See gh-19326
This commit is contained in:
Stephane Nicoll 2019-12-12 16:46:28 +01:00
parent f22d0c7d8e
commit cd085e0641

View File

@ -61,8 +61,8 @@ public class SampleTestApplicationWebIntegrationTests {
@Test @Test
public void test() { public void test() {
assertThat(this.restTemplate.getForEntity("/{username}/vehicle", String.class, "sframework") assertThat(this.restTemplate.getForEntity("/{username}/vehicle", String.class, "sframework").getStatusCode())
.getStatusCode()).isEqualTo(HttpStatus.OK); .isEqualTo(HttpStatus.OK);
} }
} }