Commit cd085e06 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish contribution

See gh-19326
parent f22d0c7d
...@@ -61,8 +61,8 @@ public class SampleTestApplicationWebIntegrationTests { ...@@ -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);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment