Skip to content

Commit cdbd30f

Browse files
author
qbhy
committed
doc:修改注释和测试用例方法名字
1 parent fb41b1e commit cdbd30f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

publish/auth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
'guards' => [
2121
'sso' => [
2222
// 支持的设备,用英文逗号隔开
23-
'clients' => explode(',', env('AUTH_ONCE_CLIENTS', 'pc')),
23+
'clients' => explode(',', env('AUTH_SSO_CLIENTS', 'pc')),
2424

2525
// hyperf/redis 实例
2626
'redis' => function () {

tests/Cases/ExampleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function testSessionGuard()
9090
$this->assertTrue($guard->user() instanceof Authenticatable);
9191
}
9292

93-
public function testOnceGuard()
93+
public function testSsoGuard()
9494
{
9595
$guard = $this->auth()->guard('sso');
9696
$this->assertTrue($guard instanceof SsoGuard);

0 commit comments

Comments
 (0)