mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Polish contribution
See gh-19326
This commit is contained in:
parent
f22d0c7d8e
commit
cd085e0641
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user