forked from baskbuddy/zhangshun
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.0 KiB
44 lines
1.0 KiB
# 测试环境配置 - 纯单元测试用(无需 Spring 上下文)
|
|
|
|
spring:
|
|
config:
|
|
activate:
|
|
on-profile: test
|
|
jpa:
|
|
hibernate:
|
|
ddl-auto: validate
|
|
show-sql: false
|
|
flyway:
|
|
enabled: true
|
|
locations: classpath:db/migration
|
|
baseline-on-migrate: true
|
|
baseline-version: 0
|
|
data:
|
|
redis:
|
|
enabled: false
|
|
rabbitmq:
|
|
enabled: false
|
|
|
|
app:
|
|
scoring:
|
|
refresh:
|
|
enabled: false
|
|
compensation-enabled: false
|
|
jwt:
|
|
secret: test-jwt-secret-key-for-unit-tests-only-not-for-production
|
|
access-secret: test-access-secret-key-for-unit-tests-only-not-for-production
|
|
refresh-secret: test-refresh-secret-key-for-unit-tests-only-not-for-production
|
|
token-hash-secret: test-token-hash-secret-key-for-unit-tests-only-not-for-production
|
|
expiration-ms: 3600000
|
|
refresh-expiration-ms: 604800000
|
|
|
|
sms:
|
|
mock:
|
|
enabled: true
|
|
|
|
logging:
|
|
level:
|
|
root: WARN
|
|
com.mydreamjob: DEBUG
|
|
org.springframework.security: WARN
|
|
org.flywaydb: DEBUG
|
|
|