* when execute a case, the version must transfer.

This commit is contained in:
wangchunsheng
2011-07-06 01:17:30 +00:00
parent 382a22baa5
commit 553e2d4a66
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ class testtaskModel extends model
public function getRunById($runID)
{
$testRun = $this->dao->findById($runID)->from(TABLE_TESTRUN)->fetch();
$testRun->case = $this->loadModel('testcase')->getById($testRun->case);
$testRun->case = $this->loadModel('testcase')->getById($testRun->case, $testRun->version);
return $testRun;
}