diff --git a/module/task/test/model/syncstorytochildren.php b/module/task/test/model/syncstorytochildren.php new file mode 100644 index 0000000000..b9cced6477 --- /dev/null +++ b/module/task/test/model/syncstorytochildren.php @@ -0,0 +1,20 @@ +#!/usr/bin/env php +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;