]> BookStack Code Mirror - bookstack/blobdiff - tests/Auth/Saml2Test.php
Copied over work from user_permissions branch
[bookstack] / tests / Auth / Saml2Test.php
index 4c8d14dd5c81ab8491b0e4edecde62e48dc321ea..0ee419610ca330e959cb492812e75e0e714cf219 100644 (file)
@@ -170,7 +170,7 @@ class Saml2Test extends TestCase
             'saml2.onelogin.strict' => false,
         ]);
 
-        $resp = $this->actingAs($this->getEditor())->get('/');
+        $resp = $this->actingAs($this->users->editor())->get('/');
         $this->withHtml($resp)->assertElementContains('form[action$="/saml2/logout"] button', 'Logout');
     }