+ [task#130251,doing,0.5h] add unit test of taskModel::syncStoryToChildren.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
/**
|
||||
|
||||
title=taskModel->syncStoryToChildren();
|
||||
cid=0
|
||||
|
||||
*/
|
||||
include dirname(__FILE__, 5) . '/test/lib/init.php';
|
||||
include dirname(__FILE__, 2) . '/lib/task.unittest.class.php';
|
||||
|
||||
zenData('user')->gen(5);
|
||||
su('admin');
|
||||
|
||||
zenData('task')->loadYaml('task')->gen(20);
|
||||
zenData('story')->gen(50);
|
||||
|
||||
$task1 = new stdclass();
|
||||
$task1->id = 1;
|
||||
Reference in New Issue
Block a user