Skip to content
Snippets Groups Projects
Unverified Commit 73de0dc5 authored by Martin Mareš's avatar Martin Mareš
Browse files

Move db to mem for tests

parent 2878f4ed
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ server.port=8081 ...@@ -3,7 +3,7 @@ server.port=8081
application.url=http://localhost:8081 application.url=http://localhost:8081
   
spring.datasource.initialization-mode=always spring.datasource.initialization-mode=always
spring.datasource.url=jdbc:h2:file:./../H2_flightlog_inttest;DB_CLOSE_ON_EXIT=FALSE;IFEXISTS=FALSE;DB_CLOSE_DELAY=-1;MODE=PostgreSQL; spring.datasource.url=jdbc:h2:mem:test;DB_CLOSE_ON_EXIT=FALSE;IFEXISTS=FALSE;DB_CLOSE_DELAY=-1;MODE=PostgreSQL;
spring.datasource.username=sa spring.datasource.username=sa
spring.datasource.password=password spring.datasource.password=password
spring.h2.console.enabled=true spring.h2.console.enabled=true
......
spring.sql.init.mode=always spring.sql.init.mode=always
spring.sql.init.platform=h2 spring.sql.init.platform=h2
spring.sql.init.data-locations=classpath:data.sql spring.sql.init.data-locations=classpath:data.sql
spring.datasource.url=jdbc:h2:file:./../H2_flightlog_test;MODE=PostgreSQL; spring.datasource.url=jdbc:h2:mem:test;MODE=PostgreSQL;
spring.datasource.username=sa spring.datasource.username=sa
spring.datasource.password=password spring.datasource.password=password
spring.h2.console.enabled=true spring.h2.console.enabled=true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment