Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
FemiNoviaLina committed Jun 11, 2024
1 parent 5b027a0 commit 249ba14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/store/cache/group_repository_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 249ba14

Please sign in to comment.