* [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:
liugang
2025-12-02 16:27:37 +08:00
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;