修复测试用例

This commit is contained in:
刘祥超
2023-07-02 15:25:13 +08:00
parent 4dc5d9aa7e
commit df04de2151
3 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ import (
func TestHTTPCacheTaskDAO_Clean(t *testing.T) {
dbs.NotifyReady()
err := models.SharedHTTPCacheTaskDAO.Clean(nil, 30)
err := models.SharedHTTPCacheTaskDAO.CleanDays(nil, 30)
if err != nil {
t.Fatal(err)
}