diff --git a/internal/store/cache/group_repository_test.go b/internal/store/cache/group_repository_test.go index 8f7a4c4c9..6d0e17f6b 100644 --- a/internal/store/cache/group_repository_test.go +++ b/internal/store/cache/group_repository_test.go @@ -47,7 +47,7 @@ func TestGetBySlug(t *testing.T) { if err != nil { return nil } - c.Cache.Set(getKey(testGroupSlug), testGroup, 0) + c.Set(getKey(testGroupSlug), testGroup, 0) return NewCachedGroupRepository(c, groupRepository) }, want: testGroup, @@ -78,7 +78,7 @@ func TestGetBySlug(t *testing.T) { if err != nil { return nil } - c.Cache.Set(getKey(testGroupSlug), "invalid-group-data", 0) + c.Set(getKey(testGroupSlug), "invalid-group-data", 0) return NewCachedGroupRepository(c, groupRepository) }, wantErr: ErrParsing,