* Modify unit test of testtaskModel::update, and fix error of it.

This commit is contained in:
liumengyi
2023-09-12 09:58:42 +08:00
parent b85436f181
commit eae359fb08
3 changed files with 48 additions and 9 deletions
+1 -1
View File
@@ -762,7 +762,7 @@ class testtaskModel extends model
->exec();
if(dao::isError()) return false;
$this->file->processFile4Object('testtask', $oldTask, $task);
$this->loadModel('file')->processFile4Object('testtask', $oldTask, $task);
return common::createChanges($oldTask, $task);
}