* userTest: refactor script to test the identifyByPhpAuth method.

This commit is contained in:
liugang
2023-12-21 14:48:05 +08:00
parent 974e5fc378
commit 87cfc52c89
2 changed files with 117 additions and 26 deletions
+2 -1
View File
@@ -1046,12 +1046,13 @@ class userTest
}
/**
* 测试根据 PHP_AUTH_USER 验证用户。
* Identify user by PHP_AUTH_USER.
*
* @access public
* @return bool
*/
public function identifyByPhpAuthTest()
public function identifyByPhpAuthTest(): bool
{
return $this->objectModel->identifyByPhpAuth();
}