diff --git a/module/story/test/model/createtwins.php b/module/story/test/model/createtwins.php index 27191d34d9..bc27710c4e 100755 --- a/module/story/test/model/createtwins.php +++ b/module/story/test/model/createtwins.php @@ -4,6 +4,7 @@ /** title=测试 storyModel->createTwins(); +timeout=0 cid=0 - 检查创建后的数据。 @@ -39,7 +40,7 @@ $data->module = 0; $data->branches = array(0, 1); $data->modules = array(1, 2); $data->plans = array(0, 0); -$data->plan = 1; +$data->plan = '1'; $data->assignedTo = ''; $data->source = ''; $data->sourceNote = ''; @@ -61,9 +62,8 @@ $data->openedBy = 'admin'; $data->openedDate = date('Y-m-d H:i:s'); $data->mailto = ''; $data->parent = 1; -$data->URS[] = 1; $data->reviewer[] = 'admin'; $story = new storyTest(); $test1 = $story->createTwinsTest($data); -r((array)$test1) && p('id-twins', '-') && e('5-,6,'); //检查创建后的数据。 +r((array)$test1) && p('id-twins', '-') && e('5-,6,'); //检查创建后的数据。 \ No newline at end of file