db tests swiched to in memory db

This commit is contained in:
adamkulawik
2018-05-26 01:10:18 +02:00
parent 20f30da4ae
commit 2aa827e79b
15 changed files with 385 additions and 0 deletions

View File

@@ -68,6 +68,12 @@
<version>1.7.9</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>pl.com.dddbyexamples</groupId>
<artifactId>db-commons</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties>

View File

@@ -0,0 +1,6 @@
spring.datasource.url=jdbc:h2:mem:db;DB_CLOSE_ON_EXIT=FALSE
spring.datasource.username=sa
spring.datasource.password=sa
spring.datasource.driver-class-name=org.h2.Driver
spring.liquibase.change-log=classpath:/schema/db.changelog.xml