* Fix a bug.
This commit is contained in:
@@ -1221,7 +1221,7 @@ class testtaskModel extends model
|
||||
/* Update testRun's status. */
|
||||
if(!dao::isError())
|
||||
{
|
||||
$runStatus = $caseResult == 'blocked' ? 'blocked' : 'done';
|
||||
$runStatus = $caseResult == 'blocked' ? 'blocked' : 'normal';
|
||||
$this->dao->update(TABLE_TESTRUN)
|
||||
->set('lastRunResult')->eq($caseResult)
|
||||
->set('status')->eq($runStatus)
|
||||
|
||||
Reference in New Issue
Block a user