From 466dea12cd122deb9eefab7fff27f3ab22f8e1bd Mon Sep 17 00:00:00 2001 From: tianshujie Date: Sun, 29 Jan 2023 11:18:37 +0800 Subject: [PATCH] * Modify case of execution model. --- test/model/execution/computecfd.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/model/execution/computecfd.php b/test/model/execution/computecfd.php index a02c18c767..5879c8e934 100644 --- a/test/model/execution/computecfd.php +++ b/test/model/execution/computecfd.php @@ -31,13 +31,17 @@ $kanbanColumn->name->range('1-9')->prefix('看板列'); $kanbanColumn->type->range('1-9')->prefix('column'); $kanbanColumn->gen(9); +$CFD = zdTable('cfd'); +$CFD->id->range('1'); +$CFD->gen(0); + /** title=测试executionModel->computeCFD(); cid=1 pid=1 -获取所有看板执行的累计卡片个数 >> 12 +获取所有看板执行的累计卡片个数 >> 6 获取看板1的累计流图信息 >> 3,task */ @@ -46,5 +50,5 @@ $executionTester = new executionTest(); $allExecutionCFDList = $executionTester->computeCFDTest(); $singleExecutionCFDList = $executionTester->computeCFDTest(3); -r(count($allExecutionCFDList)) && p() && e('12'); // 获取所有看板执行的累计卡片个数 +r(count($allExecutionCFDList)) && p() && e('6'); // 获取所有看板执行的累计卡片个数 r(current($singleExecutionCFDList)) && p('execution,type') && e('3,task'); // 获取看板1的累计流图信息