diff --git a/pom.xml b/pom.xml index 3998097..8c3bb46 100644 --- a/pom.xml +++ b/pom.xml @@ -45,6 +45,12 @@ spring-boot-starter-web + + com.h2database + h2 + test + + org.springframework.boot spring-boot-devtools @@ -124,31 +130,40 @@ - - - org.springframework.boot - spring-boot-maven-plugin - - - org.jacoco - jacoco-maven-plugin - 0.8.12 - - - - prepare-agent - - - - report - test - - report - - - - - - + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + org.jacoco + jacoco-maven-plugin + 0.8.11 + + + + + + prepare-agent + + + + + + report + test + + report + + + + + + + + diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties new file mode 100644 index 0000000..f79b07c --- /dev/null +++ b/src/test/resources/application.properties @@ -0,0 +1,6 @@ +spring.datasource.url=jdbc:h2:mem:testdb +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password= + +spring.jpa.hibernate.ddl-auto=create-drop \ No newline at end of file