]> BookStack Code Mirror - bookstack/blobdiff - tests/Auth/SocialAuthTest.php
Move logFailedAccess into Activity
[bookstack] / tests / Auth / SocialAuthTest.php
index b8ca81174c3911663c08e703266640ebd1abb212..526c0e199a184cf7ee0a7f74c49fcea0bf42cbba 100644 (file)
@@ -153,7 +153,7 @@ class SocialAuthTest extends TestCase
         config()->set('services.google.select_account', 'true');
 
         $resp = $this->get('/login/service/google');
-        $this->assertContains('prompt=select_account', $resp->headers->get('Location'));
+        $this->assertStringContainsString('prompt=select_account', $resp->headers->get('Location'));
     }
 
 }