feat: DB adjustments + connection profile #5
2 changed files with 11 additions and 8 deletions
|
@ -30,9 +30,8 @@ repositories {
|
|||
|
||||
dependencies {
|
||||
implementation("org.zeroturnaround:zt-exec:1.12")
|
||||
implementation("org.apache.commons:commons-lang3:3.17.0")
|
||||
implementation("org.apache.commons:commons-lang3:3.17.0")implementation("org.springframework.boot:spring-boot-autoconfigure")
|
||||
|
||||
implementation("org.springframework.boot:spring-boot-autoconfigure")
|
||||
implementation("org.springframework.boot:spring-boot-starter-jdbc")
|
||||
implementation("org.xerial:sqlite-jdbc")
|
||||
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
||||
|
@ -55,5 +54,7 @@ dependencies {
|
|||
|
||||
tasks.withType<Test> {
|
||||
useJUnitPlatform()
|
||||
|
||||
systemProperty("spring.profiles.active", "test")
|
||||
testLogging.showStandardStreams = true
|
||||
}
|
||||
|
|
2
src/main/resources/application-test.properties
Normal file
2
src/main/resources/application-test.properties
Normal file
|
@ -0,0 +1,2 @@
|
|||
#TODO: Use flyway for db setup
|
||||
hibernate.hbm2ddl.auto=create-drop
|
Loading…
Add table
Reference in a new issue