]> BookStack Code Mirror - bookstack/blobdiff - tests/Auth/AuthTest.php
Default OpenID display name set to standard value
[bookstack] / tests / Auth / AuthTest.php
index f1f47696641ac4978f2dc33c87a93b5b8805a3e6..779d5e70fc228ba3c631c014160b8e01347c4ce5 100644 (file)
@@ -387,6 +387,7 @@ class AuthTest extends BrowserKitTest
         $this->assertTrue(auth()->check());
         $this->assertTrue(auth('ldap')->check());
         $this->assertTrue(auth('saml2')->check());
+        $this->assertTrue(auth('openid')->check());
     }
 
     public function test_login_authenticates_nonadmins_on_default_guard_only()
@@ -399,6 +400,7 @@ class AuthTest extends BrowserKitTest
         $this->assertTrue(auth()->check());
         $this->assertFalse(auth('ldap')->check());
         $this->assertFalse(auth('saml2')->check());
+        $this->assertFalse(auth('openid')->check());
     }
 
     /**