* Modify unit test directory structure and data generation method.
This commit is contained in:
@@ -21,9 +21,9 @@ cid=1
|
||||
*/
|
||||
|
||||
include dirname(__FILE__, 5) . '/test/lib/init.php';
|
||||
include dirname(__FILE__, 2) . '/upgrade.class.php';
|
||||
include dirname(__FILE__, 2) . '/lib/upgrade.unittest.class.php';
|
||||
|
||||
$project = zdTable('project');
|
||||
$project = zenData('project');
|
||||
$project->name->range('项目1{2},项目2,项目集1');
|
||||
$project->type->range('project{3},program');
|
||||
$project->gen('3');
|
||||
|
||||
Reference in New Issue
Block a user