* Fix bug #23184.
This commit is contained in:
@@ -1402,6 +1402,8 @@ class testcase extends control
|
||||
$libCase = $this->testcase->getById($libcaseID);
|
||||
$version = $case->version + 1;
|
||||
$this->dao->update(TABLE_CASE)->set('version')->eq($version)->set('fromCaseVersion')->eq($version)->where('id')->eq($caseID)->exec();
|
||||
$this->dao->update(TABLE_CASE)->set('precondition')->eq($libCase->precondition)->where('id')->eq($caseID)->exec();
|
||||
|
||||
foreach($libCase->steps as $step)
|
||||
{
|
||||
unset($step->id);
|
||||
|
||||
Reference in New Issue
Block a user