[task#137215, 1h] add zendata for creata testsuite.

This commit is contained in:
lijie
2025-02-11 14:47:39 +08:00
committed by 曹延义
parent 2bfeb7393b
commit 7bf6edc8d3
@@ -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');