diff --git a/pom.xml b/pom.xml
index 78d2055..0c90f94 100644
--- a/pom.xml
+++ b/pom.xml
@@ -125,7 +125,7 @@
org.springframework.boot
spring-boot-devtools
- true
+ test
diff --git a/src/test/java/org/springframework/samples/petclinic/PetClinicIntegrationTests.java b/src/test/java/org/springframework/samples/petclinic/PetClinicIntegrationTests.java
index 3bf1c0c..5112ecf 100644
--- a/src/test/java/org/springframework/samples/petclinic/PetClinicIntegrationTests.java
+++ b/src/test/java/org/springframework/samples/petclinic/PetClinicIntegrationTests.java
@@ -20,6 +20,7 @@
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.SpringApplication;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
import org.springframework.boot.test.web.server.LocalServerPort;
@@ -42,6 +43,10 @@ class PetClinicIntegrationTests {
@Autowired
private RestTemplateBuilder builder;
+ public static void main(String[] args) {
+ SpringApplication.run(PetClinicApplication.class, args);
+ }
+
@Test
void testFindAll() throws Exception {
vets.findAll();