* Modify unit test directory structure and data generation method.
This commit is contained in:
@@ -28,12 +28,12 @@ cid=1
|
||||
|
||||
*/
|
||||
include dirname(__FILE__, 5) . '/test/lib/init.php';
|
||||
include dirname(__FILE__, 2) . '/doc.class.php';
|
||||
include dirname(__FILE__, 2) . '/lib/doc.unittest.class.php';
|
||||
|
||||
zdTable('project')->config('execution')->gen(6);
|
||||
zdTable('project')->config('project')->gen(2);
|
||||
zdTable('doclib')->config('doclib')->gen(30);
|
||||
zdTable('user')->gen(5);
|
||||
zenData('project')->loadYaml('execution')->gen(6);
|
||||
zenData('project')->loadYaml('project')->gen(2);
|
||||
zenData('doclib')->loadYaml('doclib')->gen(30);
|
||||
zenData('user')->gen(5);
|
||||
su('admin');
|
||||
|
||||
$docLibIds = array(26, 18, 20, 6, 11);
|
||||
|
||||
Reference in New Issue
Block a user