Failed test

This commit is contained in:
Tommaso Gionfriddo 2024-05-19 00:39:23 +10:00
parent a641ca741a
commit 92b520fdf3

View file

@ -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,12 @@ public class PetClinicIntegrationTests {
vets.findAll(); // served from cache vets.findAll(); // served from cache
} }
@Test
void testDemo(){
assertEquals(1, 2);
}
@Test @Test
void testOwnerDetails() { void testOwnerDetails() {
RestTemplate template = builder.rootUri("http://localhost:" + port).build(); RestTemplate template = builder.rootUri("http://localhost:" + port).build();