From f2d6dec965f45463cc42400cdda02ce12de1e1f1 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 23 Jan 2024 15:25:22 +0800 Subject: [PATCH] * Change task data of the task::createTestChildTasksTest unit test. --- module/task/test/model/createtestchildtasks.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/task/test/model/createtestchildtasks.php b/module/task/test/model/createtestchildtasks.php index 6c7b068b67..d92f5819c4 100755 --- a/module/task/test/model/createtestchildtasks.php +++ b/module/task/test/model/createtestchildtasks.php @@ -33,6 +33,7 @@ $testTasks[2]->name = '测试子任务1'; $testTasks[2]->type = 'test'; $testTasks[2]->estimate = 0; $testTasks[2]->left = 0; +$testTasks[2]->story = 1; $testTasks[2]->mailto = ''; $testTasks[3] = new stdclass(); @@ -40,6 +41,7 @@ $testTasks[3]->name = '测试子任务2'; $testTasks[3]->type = 'test'; $testTasks[3]->estimate = 0; $testTasks[3]->left = 0; +$testTasks[2]->left = 1; $testTasks[3]->mailto = ''; $taskTester = new taskTest();