* [unittest] modify unittest.
This commit is contained in:
@@ -4,12 +4,14 @@
|
||||
/**
|
||||
|
||||
title=测试 storyModel->linkStory();
|
||||
timeout=0
|
||||
cid=0
|
||||
|
||||
- 获取关联需求后的执行下的需求数量 @1
|
||||
- 获取关联需求后的执行下的需求数量 @2
|
||||
- 获取关联需求后的执行下的需求数量 @1
|
||||
- 获取关联需求后的执行下的需求数量 @1
|
||||
- 获取关联需求后的执行下的需求数量 @2
|
||||
|
||||
*/
|
||||
include dirname(__FILE__, 5) . '/test/lib/init.php';
|
||||
@@ -23,8 +25,10 @@ $stories1 = $storyTest->linkStoryTest(11, 1, 300);
|
||||
$stories2 = $storyTest->linkStoryTest(11, 1, 301);
|
||||
$stories3 = $storyTest->linkStoryTest(12, 1, 302);
|
||||
$stories4 = $storyTest->linkStoryTest(13, 1, 304);
|
||||
$stories5 = $storyTest->linkStoryTest(13, 1, 305);
|
||||
|
||||
r(count($stories1)) && p() && e('1'); // 获取关联需求后的执行下的需求数量
|
||||
r(count($stories2)) && p() && e('2'); // 获取关联需求后的执行下的需求数量
|
||||
r(count($stories3)) && p() && e('1'); // 获取关联需求后的执行下的需求数量
|
||||
r(count($stories4)) && p() && e('1'); // 获取关联需求后的执行下的需求数量
|
||||
r(count($stories5)) && p() && e('2'); // 获取关联需求后的执行下的需求数量
|
||||
Reference in New Issue
Block a user