mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 07:15:49 +00:00
commit
938e4aa469
1 changed files with 6 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
||||||
package org.springframework.samples.petclinic;
|
package org.springframework.samples.petclinic;
|
||||||
|
|
||||||
import static org.assertj.core.api.Assertions.assertThat;
|
import static org.assertj.core.api.Assertions.assertThat;
|
||||||
|
import static org.junit.Assert.assertEquals;
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
@ -49,6 +50,11 @@ public class PetClinicIntegrationTests {
|
||||||
vets.findAll(); // served from cache
|
vets.findAll(); // served from cache
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testDemo() {
|
||||||
|
assertEquals(2, 2);
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void testOwnerDetails() {
|
void testOwnerDetails() {
|
||||||
RestTemplate template = builder.rootUri("http://localhost:" + port).build();
|
RestTemplate template = builder.rootUri("http://localhost:" + port).build();
|
||||||
|
|
Loading…
Reference in a new issue