fix: 补充测试桩缺失的接口方法

This commit is contained in:
shaw
2026-01-18 22:23:03 +08:00
parent 2028cc29b7
commit 46ae08ecb7
3 changed files with 24 additions and 0 deletions

View File

@@ -618,6 +618,14 @@ func (stubApiKeyCache) DeleteAuthCache(ctx context.Context, key string) error {
return nil
}
func (stubApiKeyCache) PublishAuthCacheInvalidation(ctx context.Context, cacheKey string) error {
return nil
}
func (stubApiKeyCache) SubscribeAuthCacheInvalidation(ctx context.Context, handler func(cacheKey string)) error {
return nil
}
type stubGroupRepo struct{}
func (stubGroupRepo) Create(ctx context.Context, group *service.Group) error {