* Modify unit test of tutorialModel::getProject.

This commit is contained in:
liumengyi
2023-12-08 09:13:56 +08:00
parent 45e87d40e4
commit ff1051e3d5
2 changed files with 12 additions and 11 deletions
+4 -7
View File
@@ -85,18 +85,15 @@ class tutorialTest
}
/**
* 测试获取新手模式项目信息。
* Get project for tutorial.
*
* @access public
* @return void
* @return object
*/
public function getProjectTest()
public function getProjectTest(): object
{
$objects = $this->objectModel->getProject();
if(dao::isError()) return dao::getError();
return $objects;
return $this->objectModel->getProject();
}
/**