mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-22 07:32:32 +01:00
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:
@@ -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.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user