]> BookStack Code Mirror - bookstack/blobdiff - tests/Auth/LoginAutoInitiateTest.php
respective book and chapter structure added.
[bookstack] / tests / Auth / LoginAutoInitiateTest.php
index 2d03844356eb62b68c67d9a2333b2ed2a0e54126..fcb4431af9c14ff8ecb068acf22527178b020c03 100644 (file)
@@ -70,7 +70,7 @@ class LoginAutoInitiateTest extends TestCase
         config()->set([
             'auth.method' => 'oidc',
         ]);
-        $this->actingAs($this->getEditor());
+        $this->actingAs($this->users->editor());
 
         $req = $this->post('/logout');
         $req->assertRedirect('/login?prevent_auto_init=true');