* Fix unit test error.

This commit is contained in:
tanghucheng
2024-01-04 16:18:24 +08:00
parent d729c69e3b
commit d57b26f254
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -626,7 +626,7 @@ class bug extends control
{
$object = $this->dao->findById($executionID)->from(TABLE_EXECUTION)->fetch();
$projectID = $object->type == 'project' ? $object->id : $object->parent;
$this->config->bug->dtable->fieldList['project']['dataSource'] = array('module' => 'project', 'method' => 'getPairsByIdList', 'params' => $projectID);
$this->config->bug->dtable->fieldList['project']['dataSource'] = array('module' => 'project', 'method' => 'getPairsByIdList', 'params' => array('projectIdList' => array($projectID)));
$this->config->bug->dtable->fieldList['execution']['dataSource'] = array('module' => 'execution', 'method' => 'getPairs', 'params' => $projectID);
}
}