Files
danyang-match/backend/src/test/resources/application-test.yml
T

41 lines
923 B
YAML
Raw Normal View History

2026-09-09 22:05:00 +08:00
spring:
datasource:
url: jdbc:h2:mem:danyang_match_test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
driver-class-name: org.h2.Driver
username: sa
password:
flyway:
enabled: false
2026-09-11 09:07:41 +08:00
sql:
init:
schema-locations: classpath:schema-h2.sql
2026-09-09 22:05:00 +08:00
jackson:
serialization:
write-dates-as-timestamps: false
jwt:
access-token-secret: test-access-secret-for-unit-tests-only
refresh-token-secret: test-refresh-secret-for-unit-tests-only
encryption:
key: 0123456789abcdef0123456789abcdef
features:
activity-enabled: true
matchmaker-enabled: true
chat-image-enabled: false
appeal-enabled: false
object-storage:
endpoint: http://localhost:9000
access-key: unit-test-access-key
secret-key: unit-test-secret-key
bucket-public: unit-test-public
bucket-private: unit-test-private
2026-09-11 09:07:41 +08:00
region: us-east-1
logging:
level:
com.danyang.match.platform: INFO
org.mybatis: WARN