test: add integration tests for TodoController and update test configuration.
All checks were successful
Release and Build Docker Images / release-and-build (push) Successful in 1m26s
All checks were successful
Release and Build Docker Images / release-and-build (push) Successful in 1m26s
This commit is contained in:
6
backend/src/test/resources/application-test.properties
Normal file
6
backend/src/test/resources/application-test.properties
Normal file
@@ -0,0 +1,6 @@
|
||||
spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
|
||||
spring.datasource.driver-class-name=org.h2.Driver
|
||||
spring.datasource.username=sa
|
||||
spring.datasource.password=
|
||||
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
|
||||
spring.jpa.hibernate.ddl-auto=create-drop
|
||||
Reference in New Issue
Block a user