* [refac bug #68890] Adjust init testcase from bug.

This commit is contained in:
wangyidong
2026-01-16 16:09:26 +08:00
parent 3d98aa2801
commit 614fb5c37e
+1 -1
View File
@@ -1983,7 +1983,7 @@ class testcaseZen extends testcase
if($bugID > 0)
{
$bug = $this->loadModel('bug')->getById($bugID);
$case->type = $bug->type;
$case->type = 'feature';
$case->pri = $bug->pri ? $bug->pri : $bug->severity;
$case->story = $bug->story;
$case->title = $bug->title;