+ [misc] Add unit tests for programplanModel::getByList() 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:21 +08:00
co-authored by Claude
parent 76b7cf2622
commit 5db894fbc8
2 changed files with 33 additions and 2 deletions
@@ -61,7 +61,7 @@ class programplanTest
*
* @param array $idList
* @access public
* @return array
* @return int
*/
public function getByListTest($idList = array())
{
@@ -69,7 +69,7 @@ class programplanTest
if(dao::isError()) return dao::getError();
return $objects;
return count($objects);
}
/**