* userTest: refactor script to test the identifyByCookie method.

This commit is contained in:
liugang
2023-12-21 16:07:53 +08:00
parent bd16c078a1
commit 19bd7e5023
2 changed files with 112 additions and 26 deletions
+2 -1
View File
@@ -1058,12 +1058,13 @@ class userTest
}
/**
* 测试根据 cookie 验证用户。
* Identify user by cookie.
*
* @access public
* @return bool
*/
public function identifyByCookieTest()
public function identifyByCookieTest(): bool
{
return $this->objectModel->identifyByCookie();
}