From 598a82d7ca40cd442da68ff3e19f512341c2ed63 Mon Sep 17 00:00:00 2001 From: luxuyang Date: Fri, 28 Jun 2024 11:02:47 +0800 Subject: [PATCH] + [test,done,0.1h,0h] add edit bug name test case. --- module/bug/test/ui/editbug.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/module/bug/test/ui/editbug.php b/module/bug/test/ui/editbug.php index c625ff8bc1..65c02169fc 100644 --- a/module/bug/test/ui/editbug.php +++ b/module/bug/test/ui/editbug.php @@ -6,8 +6,10 @@ $tester = new confirmBugTester(); $bug = array(); $bug['search'][] = array('field1' => 'Bug状态', 'operator1' => '=', 'value1' => '激活'); -$bug['bugName'] = 'bug' . time(); $project = array(); $project['productID'] = 1; -r($tester->editBug($project, $bug)) && p('message,status') && e('解决bug成功'); //验证bug表单页必填项校验 +r($tester->editBug($project, $bug)) && p('message,status') && e('编辑bug成功'); //验证直接编辑bug是否成功 + +$bug['bugName'] = 'bug' . time(); +r($tester->editBug($project, $bug)) && p('message,status') && e('编辑bug名称成功'); //验证编辑bug名称是否成功