Files
XpenselyServer/src/test/resources/application-integration.properties
T
Cedric f958fb7853
Build and Deploy Spring Boot Server / build (push) Successful in 3m41s
Fixed Auth and Connection issues
2026-07-04 17:31:21 +02:00

11 lines
539 B
Properties

# H2 in-memory database replaces PostgreSQL for integration tests
spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;MODE=PostgreSQL
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
# Placeholder URI — TestJwtDecoderConfig overrides the decoder bean so this URI is never fetched
spring.security.oauth2.resourceserver.jwt.jwk-set-uri=https://placeholder.invalid/jwks