fix(test): 修复集成测试并启用 PostgreSQL 集成测试
- 移除集成测试类的 @Disabled 注解,恢复测试执行 - 显式指定 classes = ManageApplication.class 解决多 SpringBootConfiguration 冲突 - 修复 OperationLogIntegrationTest 中 H2 语法(BIGINT AUTO_INCREMENT)为 PostgreSQL 兼容方式 - 修复 DatabaseInitTest 中 INFORMATION_SCHEMA 大小写问题为 PostgreSQL 兼容语法 - 重写 OperationLogExportIntegrationTest 为 Service 层直接调用测试,解决 WebFlux 安全过滤器超时 - 升级 commons-compress 1.24.0 -> 1.26.2 解决 POI 5.2.5 兼容性问题 验证结果:后端 960 + 前端 174 = 1134 个测试用例全部通过
This commit is contained in:
@@ -106,6 +106,11 @@
|
||||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi-ooxml</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-compress</artifactId>
|
||||
<version>1.26.2</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
Reference in New Issue
Block a user