17 lines
596 B
Properties
17 lines
596 B
Properties
# Test config: use in-memory H2 and prevent main import.sql from running
|
|
quarkus.datasource.db-kind=h2
|
|
quarkus.datasource.username=sa
|
|
quarkus.datasource.password=
|
|
quarkus.datasource.jdbc.url=jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;MODE=PostgreSQL
|
|
|
|
# Let Hibernate create/drop schema for tests
|
|
quarkus.hibernate-orm.database.generation=drop-and-create
|
|
|
|
# Disable automatic load of import.sql from main resources for tests
|
|
quarkus.hibernate-orm.sql-load-script=
|
|
|
|
# Show SQL in test logs (helpful while developing tests)
|
|
quarkus.hibernate-orm.log.sql=true
|
|
quarkus.hibernate-orm.log.bind-parameters=true
|
|
|