test(mocks): add mock implementations for 8 unmocked repo interfaces

Enables isolated unit tests for tower, festa, rengoku, diva, event,
misc, mercenary, and cafe handlers. All 21 repo interfaces now have
mock implementations in repo_mocks_test.go.
This commit is contained in:
Houmgaor
2026-02-24 15:24:08 +01:00
parent 41a103af9d
commit 759988ae8e
2 changed files with 194 additions and 1 deletions

View File

@@ -123,7 +123,7 @@ Tests for those handlers either use stub handlers that skip repos or rely on int
**Fix:** Add no-op mock implementations for each, following the pattern established by existing mocks.
**Status:** Pending.
**Status:** **Done.** Added 8 mock implementations to `repo_mocks_test.go`: `mockTowerRepo`, `mockFestaRepo`, `mockRengokuRepo`, `mockDivaRepo`, `mockEventRepo`, `mockMiscRepo`, `mockMercenaryRepo`, `mockCafeRepo`. All follow the established pattern with no-op defaults and configurable struct fields for return values and errors.
---