Setup to allow possible automated testing with a database
This commit is contained in:
parent
1d8a214667
commit
633fe0a7fc
@ -1,5 +1,3 @@
|
||||
spring.jpa.hibernate.ddl-auto=none
|
||||
|
||||
spring.datasource.initialization-mode=always
|
||||
spring.datasource.platform=postgres
|
||||
spring.jpa.properties.hibernate.default_schema=projectplanner
|
5
src/test/resources/application.properties
Normal file
5
src/test/resources/application.properties
Normal file
@ -0,0 +1,5 @@
|
||||
spring.datasource.url=jdbc:h2:mem:testdb
|
||||
spring.datasource.driverClassName=org.h2.Driver
|
||||
spring.flyway.enabled=false
|
||||
spring.jpa.hibernate.ddl-auto=update
|
||||
spring.jpa.properties.hibernate.default_schema=
|
Loading…
Reference in New Issue
Block a user