mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-03-19 18:37:25 +08:00
优化目录结构
This commit is contained in:
22
backend/src/test/resources/application.properties
Normal file
22
backend/src/test/resources/application.properties
Normal file
@@ -0,0 +1,22 @@
|
||||
spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1
|
||||
spring.datasource.driverClassName=org.h2.Driver
|
||||
spring.datasource.username=sa
|
||||
spring.datasource.password=
|
||||
spring.jpa.hibernate.ddl-auto=create-drop
|
||||
|
||||
resend.api.key=dummy
|
||||
cos.base-url=http://test.example.com
|
||||
cos.secret-id=dummy
|
||||
cos.secret-key=dummy
|
||||
cos.region=ap-guangzhou
|
||||
cos.bucket-name=testbucket
|
||||
|
||||
# Image upload configuration for tests
|
||||
app.upload.check-type=true
|
||||
app.upload.max-size=1048576
|
||||
|
||||
app.jwt.secret=TestSecret
|
||||
app.jwt.expiration=3600000
|
||||
|
||||
# Default publish mode for tests
|
||||
app.post.publish-mode=DIRECT
|
||||
Reference in New Issue
Block a user