+ [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:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user