张翔
|
4ae0e8d125
|
fix(e2e): 启用Flyway数据库初始化
问题:
- 后端服务使用H2内存数据库
- Flyway被禁用,导致数据库初始化脚本未运行
- admin用户不存在,登录API返回401错误
修复:
- 启用Flyway(flyway.enabled: true)
- 指定迁移脚本位置(locations: classpath:db/migration)
- 启用基线迁移(baseline-on-migrate: true)
预期效果:
- 数据库初始化脚本自动运行
- admin用户自动创建
- 登录API正常工作
|
2026-04-07 10:20:13 +08:00 |
|
张翔
|
c279b0a6e4
|
test: add integration tests for operation log
- Add R2DBC database initialization configuration
- Fix schema-h2.sql Chinese comments issue
- Add spring-security-test dependency
- Create comprehensive integration tests for operation log
- Tests cover create, delete, and error scenarios
Closes #2
|
2026-04-03 22:00:47 +08:00 |
|
张翔
|
8e2dd9f621
|
fix: resolve H2 database initialization issue
- Configure test profile to use H2 in-memory database
- Add SQL initialization for schema and data
- Ensure test environment works correctly
Closes #1
|
2026-04-03 21:35:18 +08:00 |
|
张翔
|
1e3dc11d59
|
refactor(test): 重构测试套件结构并优化测试配置
feat(test-suite): 新增测试套件模块,包含API测试客户端和测试配置
fix(api): 修复数据库实体和仓库的删除操作返回值
style(api): 统一数据库表名和字段命名
perf(api): 添加缓存注解提升配置查询性能
test(api): 添加H2测试数据库配置支持
chore: 清理旧的测试文件和脚本
|
2026-04-01 20:57:24 +08:00 |
|
张翔
|
4ec1a3f4dd
|
feat: 更新UAT测试配置和修复数据库连接问题
refactor(测试): 重构用户数据加载逻辑以支持数组格式
fix(数据库): 修正数据库连接配置和凭证
test: 添加新的导航和用户管理测试场景
docs: 生成UAT测试报告和最终报告
ci: 更新Woodpecker CI配置和测试命令
build: 添加application-test.yml配置文件
chore: 清理旧的测试场景文件
|
2026-03-25 15:32:49 +08:00 |
|