[task#137215, 1h] add zendata for creata testsuite.
This commit is contained in:
@@ -18,3 +18,23 @@ $product->bind->range('0');
|
||||
$product->acl->range('open');
|
||||
$product->createdBy->range('admin');
|
||||
$product->vision->range('rnd');
|
||||
$product->gen(1);
|
||||
|
||||
$testsuite = zenData('testsuite');
|
||||
$testsuite->id->range('1');
|
||||
$testsuite->product->range('1');
|
||||
$testsuite->name->range('套件1');
|
||||
$testsuite->type->range('public');
|
||||
$testsuite->addedBy->range('admin');
|
||||
$testsuite->gen(1);
|
||||
|
||||
$action = zenData('action');
|
||||
$action->id->range('1');
|
||||
$action->objectType->range('product');
|
||||
$action->objectID->range('1');
|
||||
$action->product->range('`,1,`');
|
||||
$action->project->range('0');
|
||||
$action->execution->range('0');
|
||||
$action->actor->range('admin');
|
||||
$action->action->range('opened');
|
||||
$action->read->range('0');
|
||||
|
||||
Reference in New Issue
Block a user