* [test,doing,0.5h,1h] add resoleve bug uitest script.

This commit is contained in:
luxuyang
2024-06-25 16:52:35 +08:00
committed by 陆旭阳
parent 31c7229e32
commit 087b35fecf
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env php
<?php
chdir(__DIR__);
include '../lib/confirmbug.ui.class.php';
$tester = new confirmBugTester();
$bug = array();
$bug['search'] = 'Bug状态';
$bug['isResolved'] = '激活';
$bug['assignedTo'] = 'admin';
$bug['resolution'] = '已解决';
$bug['resolvedBuild'] = '主干';
$bug['resolvedDate'] = '2027-02-15';
$project = array();
$project['productID'] = 1;
r($tester->resolveBug($project, $bug)) && p('message,status') && e('解决bug成功'); //验证bug表单页必填项校验