* [misc] Enhance unit tests for programplanModel::getSiblings() method
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -459,7 +459,13 @@ class programplanTest
|
||||
|
||||
if(dao::isError()) return dao::getError();
|
||||
|
||||
return $objects;
|
||||
$result = array();
|
||||
foreach($objects as $planID => $siblings)
|
||||
{
|
||||
$result[$planID] = count($siblings);
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user