This commit is contained in:
zhuyasen
2022-09-25 19:06:27 +08:00
parent db93934ffc
commit 891af10cb6
78 changed files with 3551 additions and 1030 deletions

View File

@@ -105,3 +105,14 @@ func Test_userExampleCache_Del(t *testing.T) {
t.Fatal(err)
}
}
func Test_userExampleCache_SetCacheWithNotFound(t *testing.T) {
c := newUserExampleCache()
defer c.Close()
record := c.TestDataSlice[0].(*model.UserExample)
err := c.ICache.(UserExampleCache).SetCacheWithNotFound(c.Ctx, record.ID)
if err != nil {
t.Fatal(err)
}
}