mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 07:15:49 +00:00
fix code format issue
This commit is contained in:
parent
8cd5fcc467
commit
124eeb4f6c
1 changed files with 12 additions and 11 deletions
|
@ -18,12 +18,13 @@ public class OwnerControllerITCase {
|
||||||
private TestRestTemplate restTemplate;
|
private TestRestTemplate restTemplate;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Note: This test exists only for the purpose of serving as an example! Please write tests more sensible
|
* Note: This test exists only for the purpose of serving as an example! Please write
|
||||||
* than this for your own applications.
|
* tests more sensible than this for your own applications.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void assertsUser1IsGeorgeFranklin() {
|
public void assertsUser1IsGeorgeFranklin() {
|
||||||
String body = this.restTemplate.getForObject("/owners/1", String.class);
|
String body = this.restTemplate.getForObject("/owners/1", String.class);
|
||||||
assertThat(body).contains("<td><b>George Franklin</b></td>");
|
assertThat(body).contains("<td><b>George Franklin</b></td>");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue