* [ci,done,0.1h] fix unlinkcases unit test error.
This commit is contained in:
@@ -2,6 +2,19 @@
|
||||
<?php
|
||||
include dirname(__FILE__, 5) . '/test/lib/init.php';
|
||||
include dirname(__FILE__, 2) . '/lib/execution.unittest.class.php';
|
||||
/**
|
||||
|
||||
title=测试executionModel->unlinkCasesTest();
|
||||
timeout=0
|
||||
cid=1
|
||||
|
||||
- 敏捷执行解除关联用例 @0
|
||||
- 瀑布执行解除关联用例 @0
|
||||
- 看板执行解除关联用例 @0
|
||||
- 敏捷执行解除关联用例 @0
|
||||
- 敏捷执行解除关联用例 @0
|
||||
|
||||
*/
|
||||
|
||||
$execution = zenData('project');
|
||||
$execution->id->range('1-5');
|
||||
@@ -38,14 +51,6 @@ $stroy->gen(3);
|
||||
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
|
||||
title=测试executionModel->unlinkCasesTest();
|
||||
timeout=0
|
||||
cid=1
|
||||
|
||||
*/
|
||||
|
||||
$executionIDList = array('3', '4', '5');
|
||||
$products = array('1', '43', '68');
|
||||
$stories = array('2', '170', '270');
|
||||
@@ -55,3 +60,5 @@ $execution = new executionTest();
|
||||
r($execution->unlinkCasesTest($executionIDList[0], $products[0], $stories[0])) && p() && e('0'); // 敏捷执行解除关联用例
|
||||
r($execution->unlinkCasesTest($executionIDList[1], $products[1], $stories[1])) && p() && e('0'); // 瀑布执行解除关联用例
|
||||
r($execution->unlinkCasesTest($executionIDList[2], $products[2], $stories[2])) && p() && e('0'); // 看板执行解除关联用例
|
||||
r($execution->unlinkCasesTest($executionIDList[0], $products[0], $stories[1])) && p() && e('0'); // 敏捷执行解除关联用例
|
||||
r($execution->unlinkCasesTest($executionIDList[0], $products[1], $stories[0])) && p() && e('0'); // 敏捷执行解除关联用例
|
||||
|
||||
Reference in New Issue
Block a user