0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-12-02 03:59:48 +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
..
2025-02-20 12:39:21 -08:00
2025-08-30 01:04:06 +08:00
2025-09-13 10:34:43 -04:00
2025-09-13 18:01:00 +00:00
2025-10-19 00:37:50 +08:00
2025-08-30 01:04:06 +08:00
2025-08-30 01:04:06 +08:00