* userTest: refactor script to test the getListForGitLabAPI method.

This commit is contained in:
liugang
2023-12-16 09:50:26 +08:00
parent 432c973225
commit d6624b0192
2 changed files with 27 additions and 21 deletions
+4 -4
View File
@@ -1058,13 +1058,13 @@ class userTest
/**
* Test get user details for api.
*
* @param array $userList
* @param array $accountList
* @access public
* @return void
* @return array
*/
public function getListForGitLabAPITest($userList)
public function getListForGitLabAPITest(array $accountList): array
{
return $this->objectModel->getListForGitLabAPI($userList);
return $this->objectModel->getListForGitLabAPI($accountList);
}
/**