* [misc] Fix unit tests for actionModel::getDynamicByExecution() method
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
committed by
sunhao
co-authored by
Claude
parent
ba9872cf50
commit
babe331665
@@ -351,6 +351,7 @@ class actionTest
|
||||
*/
|
||||
public function getDynamicByExecutionTest($executionID, $account = '', $period = 'all', $date = '', $direction = 'next')
|
||||
{
|
||||
ob_start();
|
||||
$date = $date == 'today' ? date('Y-m-d', time()) : $date;
|
||||
$objects = $this->objectModel->getDynamicByExecution((int)$executionID, $account, $period, 'date_desc', 50, $date, $direction);
|
||||
if(dao::isError()) return 0;
|
||||
|
||||
Reference in New Issue
Block a user