+ testcase: add a prefix to avoid duplication with the scene ID.

This commit is contained in:
liugang
2023-08-17 10:35:03 +08:00
parent 343bdf54ed
commit ba0d5b3704
+1
View File
@@ -210,6 +210,7 @@ class testcase extends control
$cases = $this->loadModel('story')->checkNeedConfirm($cases);
foreach($cases as $case)
{
$case->id = 'case_' . $case->id; // Add a prefix to avoid duplication with the scene ID.
$case->parent = 0;
$case->grade = 1;
$case->path = ',' . $case->id . ',';