* Modify unit test of tutorialModel::getStories.

This commit is contained in:
liumengyi
2023-12-14 14:18:07 +08:00
parent 6222485624
commit 9adbd172da
2 changed files with 52 additions and 15 deletions
+3 -6
View File
@@ -135,18 +135,15 @@ class tutorialTest
}
/**
* 测试获取新手模式需求键值对。
* Get tutorial stories.
*
* @access public
* @return void
*/
public function getStoriesTest()
public function getStoriesTest(): array
{
$objects = $this->objectModel->getStories();
if(dao::isError()) return dao::getError();
return $objects;
return $this->objectModel->getStories();
}
/**