+ Add doc::deleteAction unit test.

This commit is contained in:
tianshujie
2023-12-02 08:58:44 +08:00
parent ab6e3f27cc
commit 71f7806b83
2 changed files with 38 additions and 0 deletions
+13
View File
@@ -943,4 +943,17 @@ class docTest
if(dao::isError()) return dao::getError();
return $actions;
}
/**
* 删除一个动作。
* Delete an action.
*
* @param int $actionID
* @access public
* @return bool
*/
public function deleteActionTest(int $actionID): bool
{
return $this->objectModel->deleteAction($actionID);
}
}