Skip to content

Commit

Permalink
Merge pull request #11 from dsyer/devtools
Browse files Browse the repository at this point in the history
Move devtools to test scope
  • Loading branch information
agrison committed Jun 20, 2024
2 parents 39da58d + 5f93ecf commit fcd1fc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
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 fcd1fc8

Please sign in to comment.