新增e2e测试脚本,修复部分问题

This commit was merged in pull request #51.
This commit is contained in:
2026-07-22 20:00:13 +08:00
parent 53d1ce6fb2
commit 4c07ec5455
105 changed files with 21700 additions and 318 deletions
@@ -17,6 +17,20 @@ spring:
security:
enabled: false
# 禁用定时任务,防止测试期间调度干扰
task:
scheduling:
enabled: false
# 排除不需要的外部服务自动配置(配合 @MockBean 使用)
autoconfigure:
exclude:
- org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration
- org.springframework.boot.autoconfigure.data.redis.RedisReactiveAutoConfiguration
- org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchClientAutoConfiguration
- org.springframework.boot.autoconfigure.elasticsearch.ReactiveElasticsearchClientAutoConfiguration
- org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration
jwt:
secret: test-secret-key-for-integration-testing