+ [misc] Add unit tests for programZen::getProgramList4Kanban() method
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -838,4 +838,21 @@ class programTest
|
||||
|
||||
return count($programs);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test getProgramList4Kanban method.
|
||||
*
|
||||
* @param string $browseType
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
public function getProgramList4KanbanTest(string $browseType = 'my'): array
|
||||
{
|
||||
global $tester;
|
||||
$programZen = $tester->loadZen('program');
|
||||
$result = $programZen->getProgramList4Kanban($browseType);
|
||||
if(dao::isError()) return dao::getError();
|
||||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user