作者 tangxvhui

调整测试

... ... @@ -8,22 +8,17 @@ import (
)
func TestCheckYesterdayTaskRecord(t *testing.T) {
// nowDay := "2023-05-10"
// nowDay := "2023-05-11"
// nowDay := "2023-05-12"
// nowDay := "2023-05-13"
nowDay := "2023-05-14"
nowDay := "2023-07-06"
taskRecordList, err := getYesterdayTaskRecord(nowDay)
if err != nil {
t.Log("获取每日任务反馈" + err.Error())
}
for _, val := range taskRecordList {
err = checkTaskRecord(val)
err = checkTaskRecordV3(val)
if err != nil {
t.Log("检查每日任务反馈" + err.Error())
}
}
}
func TestCreatTaskAnamaly(t *testing.T) {
... ...
... ... @@ -1395,7 +1395,6 @@ func (srv TaskService) ListTask3(param *command.SearchTaskCommand) (map[string]i
tk.Marks["d"] = val3.Marks["d"]
}
}
}
taskResult = append(taskResult, &tk)
}
... ...