]> BookStack Code Mirror - bookstack/blobdiff - tests/Auth/AuthTest.php
Merge branch 'openid' of https://github.com/jasperweyne/BookStack into jasperweyne...
[bookstack] / tests / Auth / AuthTest.php
index d037b57011fada64a1c1755ab9418b9ea03af828..1ffcc0815097bea1d78c1a5556292af5032f4d45 100644 (file)
@@ -318,6 +318,7 @@ class AuthTest extends TestCase
         $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()
@@ -330,6 +331,7 @@ class AuthTest extends TestCase
         $this->assertTrue(auth()->check());
         $this->assertFalse(auth('ldap')->check());
         $this->assertFalse(auth('saml2')->check());
+        $this->assertFalse(auth('openid')->check());
     }
 
     public function test_failed_logins_are_logged_when_message_configured()