+ [misc] Add unit tests for testtaskModel::getSceneCases() 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:24 +08:00
co-authored by Claude
parent c82410396a
commit cf02ecb8d9
2 changed files with 83 additions and 0 deletions
@@ -643,4 +643,20 @@ class testtaskTest
return $result;
}
/**
* Test getSceneCases method.
*
* @param int $productID
* @param array $runs
* @access public
* @return array
*/
public function getSceneCasesTest(int $productID, array $runs): array
{
$result = $this->objectModel->getSceneCases($productID, $runs);
if(dao::isError()) return dao::getError();
return $result;
}
}