* [misc] Fix unittest error of the searchTao::getParamValues method.
This commit is contained in:
@@ -555,9 +555,8 @@ class searchTest
|
||||
public function getParamValuesTest(array $fields, array $params): array
|
||||
{
|
||||
$_SESSION['project'] = 0;
|
||||
$_SESSION['searchParams']['module'] = 'bug';
|
||||
|
||||
return $this->objectModel->getParamValues($fields, $params);
|
||||
return $this->objectModel->getParamValues('bug', $fields, $params);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user