]> BookStack Code Mirror - bookstack/blobdiff - tests/Auth/Saml2Test.php
Decode HTML entities
[bookstack] / tests / Auth / Saml2Test.php
index df0bb81c19a0602a4bcf64a7d49fd148a9932da2..7303d4bd889fb9a13493eeda76101dbe0440f7c1 100644 (file)
@@ -304,7 +304,9 @@ class Saml2Test extends TestCase
 
         $this->withPost(['SAMLResponse' => $this->acsPostData], function () use ($memberRole, $adminRole) {
             $acsPost = $this->followingRedirects()->post('/saml2/acs');
-            $acsPost->assertSee('Your email address has not yet been confirmed');
+
+            $this->assertEquals('http://localhost/register/confirm', url()->current());
+            $acsPost->assertSee('Please check your email and click the confirmation button to access BookStack.');
             $user = User::query()->where('external_auth_id', '=', 'user')->first();
 
             $userRoleIds = $user->roles()->pluck('id');