Replacing postgres database with h2 for integration test

This commit is contained in:
Kirill Vlasov 2020-05-05 11:44:30 +05:00
parent 2d7bc17dda
commit 714d60351b
1 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,4 @@
spring.datasource.url=jdbc:postgresql://localhost:5432/test
spring.datasource.driver-class-name=org.h2.Driver
spring.datasource.url=jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
spring.datasource.username=test
spring.datasource.password=test
spring.jpa.hibernate.ddl-auto=create
spring.datasource.password=test