Skip to content

Commit

Permalink
Move devtools to test scope
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyer committed Apr 8, 2024
1 parent e51d734 commit 769cfc2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<jacoco.version>0.8.8</jacoco.version>
<nohttp-checkstyle.version>0.0.11</nohttp-checkstyle.version>
<spring-format.version>0.0.39</spring-format.version>
<htmx-spring-boot-thymeleaf.version>3.0.0</htmx-spring-boot-thymeleaf.version>
<htmx-spring-boot-thymeleaf.version>3.2.0</htmx-spring-boot-thymeleaf.version>

</properties>

Expand Down Expand Up @@ -125,7 +125,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
<scope>test</scope>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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();
Expand Down

0 comments on commit 769cfc2

Please sign in to comment.