*[task#129121,doing,0.5h,3h] add zendata of create branch

This commit is contained in:
lixiaoyu
2024-09-26 15:14:46 +08:00
committed by 李阳
parent 6671b476f7
commit beccc742d3
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env php
<?php
chdir(__DIR__);
include '../lib/createbranch.ui.class.php';
$product = zenData('product');
$product->id->range('12');
$product->name->range('多分支产品');
$product->status->range('normal');
$product->type->range('branch');
$product->gen(1);
$tester = new createBranchTester();
$tester->login();
$productID['productID'] = 11;
$branch = new stdClass();
$branch->name = '';
$tester->closeBrowser();