* fix for import case in testsuite.
This commit is contained in:
@@ -922,7 +922,6 @@ class commonModel extends model
|
||||
$queryCondition = $this->session->$queryCondition;
|
||||
$orderBy = $type . 'OrderBy';
|
||||
$orderBy = $this->session->$orderBy;
|
||||
$orderBy = str_replace('`left`', 'left', $orderBy); // process the `left` to left.
|
||||
|
||||
if(empty($queryCondition) or $this->session->$typeOnlyCondition)
|
||||
{
|
||||
|
||||
@@ -688,8 +688,8 @@ class testsuiteModel extends model
|
||||
if($stepData->type == 'step') $parentStepID = 0;
|
||||
}
|
||||
}
|
||||
$oldCase->steps = $this->joinStep($oldStep);
|
||||
$caseData->steps = $this->joinStep($steps);
|
||||
$oldCase->steps = $this->testcase->joinStep($oldStep);
|
||||
$caseData->steps = $this->testcase->joinStep($steps);
|
||||
$changes = common::createChanges($oldCase, $caseData);
|
||||
$actionID = $this->action->create('case', $caseID, 'Edited');
|
||||
$this->action->logHistory($actionID, $changes);
|
||||
|
||||
Reference in New Issue
Block a user