X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/87a5340a0526d4f46d4da676ce44f4e26039d281..refs/pull/2257/head:/tests/Auth/Saml2Test.php diff --git a/tests/Auth/Saml2Test.php b/tests/Auth/Saml2Test.php index df0bb81c1..7303d4bd8 100644 --- a/tests/Auth/Saml2Test.php +++ b/tests/Auth/Saml2Test.php @@ -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');