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:
张翔
2026-05-06 19:04:38 +08:00
parent 2f4ec2d080
commit 404aa40d32
5 changed files with 98 additions and 79 deletions
+5
View File
@@ -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>