0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-11-06 10:10:51 +01:00
Ross Golder 292198ca3d
Add test for refreshAccesses update path and fix db.Find syntax
- Fix db.Find syntax error by using db.GetEngine().Where().Find()
  instead of db.Find() with builder.Eq directly
- Add TestRepository_RecalculateAccesses_UpdateMode to test the
  update optimization path when user access mode changes
- Improves test coverage for refreshAccesses from 69.4% to 75.0%
- Validates that access mode updates use UPDATE instead of DELETE+INSERT
2025-10-19 14:00:20 +07:00
..