* [bug#59249] Add version for case when import case.

This commit is contained in:
xieqiyu
2025-01-14 17:13:05 +08:00
committed by 王于听
parent 7a3692fdaf
commit ab56c982dc
+1
View File
@@ -1576,6 +1576,7 @@ class testcaseZen extends testcase
$case->product = $productID;
$case->lastEditedBy = $account;
$case->lastEditedDate = $now;
$case->version = $stepChanged ? $oldCase->version + 1 : $oldCase->version;
if($case->story != $oldCase->story) $case->storyVersion = zget($storyVersionPairs, $case->story, 1);
$changes = common::createChanges($oldCase, $case);