(t *testing.T)
| 108 | } |
| 109 | |
| 110 | func Test_userExampleCache_Del(t *testing.T) { |
| 111 | c := newUserExampleCache() |
| 112 | defer c.Close() |
| 113 | |
| 114 | record := c.TestDataSlice[0].(*model.UserExample) |
| 115 | err := c.ICache.(UserExampleCache).Del(c.Ctx, record.ID) |
| 116 | if err != nil { |
| 117 | t.Fatal(err) |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | func Test_userExampleCache_SetCacheWithNotFound(t *testing.T) { |
| 122 | c := newUserExampleCache() |
nothing calls this directly
no test coverage detected
searching dependent graphs…