+ add the feature of search case.

This commit is contained in:
wangchunsheng
2010-01-09 03:12:53 +00:00
parent 13b1d0426d
commit 53620035db
6 changed files with 87 additions and 48 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ class testcaseModel extends model
->specialChars('steps')
->remove('comment')
->get();
$this->dao->update(TABLE_CASE)->data($case)->autoCheck()->check('title', 'notempty')->where('id')->eq((int)$caseID)->exec();
$this->dao->update(TABLE_CASE)->data($case)->autoCheck()->batchCheck('title,status,type', 'notempty')->where('id')->eq((int)$caseID)->exec();
if(!dao::isError()) return common::createChanges($oldCase, $case);
}
}