* Modify unit test directory structure and data generation method.
This commit is contained in:
@@ -8,13 +8,13 @@ cid=1
|
||||
|
||||
*/
|
||||
include dirname(__FILE__, 5) . '/test/lib/init.php';
|
||||
include dirname(__FILE__, 2) . '/productplan.class.php';
|
||||
include dirname(__FILE__, 2) . '/lib/productplan.unittest.class.php';
|
||||
|
||||
$bug = zdTable('bug');
|
||||
$bug = zenData('bug');
|
||||
$bug->branch->range('0-5');
|
||||
$bug->gen(10);
|
||||
|
||||
$story = zdTable('story');
|
||||
$story = zenData('story');
|
||||
$story->branch->range('0-5');
|
||||
$story->plan->range('1,`2,3`,4,`5,6,7,8`,9,10');
|
||||
$story->gen(10);
|
||||
|
||||
Reference in New Issue
Block a user