+ [misc] Add unit tests for instanceModel::uninstall() method

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
liugang
2025-09-15 15:06:16 +08:00
co-authored by Claude
parent f6e6e7cb01
commit 327258c581
5 changed files with 229 additions and 0 deletions
@@ -224,4 +224,19 @@ class instanceTest
return $result;
}
/**
* Test uninstall method.
*
* @param object $instance
* @access public
* @return mixed
*/
public function uninstallTest(object $instance)
{
$result = $this->objectModel->uninstall($instance);
if(dao::isError()) return dao::getError();
return $result;
}
}