* Modify unit test of tutorialModel::getUserPairs.

This commit is contained in:
liumengyi
2023-12-14 15:53:07 +08:00
parent ca8d24fe37
commit d2c9e03e72
2 changed files with 26 additions and 15 deletions
+5 -8
View File
@@ -231,18 +231,15 @@ class tutorialTest
}
/**
* Get tutorial user pairs.
* 测试获取新手模式用户键值对。
* Test get tutorial user pairs.
*
* @access public
* @return void
* @return array
*/
public function getUserPairsTest()
public function getUserPairsTest(): array
{
$objects = $this->objectModel->getUserPairs();
if(dao::isError()) return dao::getError();
return $objects;
return $this->objectModel->getUserPairs();
}
/**