]> BookStack Code Mirror - bookstack/blobdiff - tests/Auth/UserInviteTest.php
Added test for logical-theme-system command registration
[bookstack] / tests / Auth / UserInviteTest.php
index d994dd5b9059f1048eb9fceb0c400b01ce866648..1e1235f3361e34c9736fc0a4bf345b6420cad7e9 100644 (file)
@@ -7,8 +7,8 @@ use BookStack\Auth\User;
 use BookStack\Notifications\UserInvite;
 use Carbon\Carbon;
 use Illuminate\Support\Facades\DB;
-use Illuminate\Support\Str;
 use Illuminate\Support\Facades\Notification;
+use Illuminate\Support\Str;
 use Tests\TestCase;
 
 class UserInviteTest extends TestCase
@@ -52,7 +52,7 @@ class UserInviteTest extends TestCase
         $setPasswordResp = $this->followingRedirects()->post('/register/invite/' . $token, [
             'password' => 'my test password',
         ]);
-        $setPasswordResp->assertSee('Password set, you now have access to BookStack!');
+        $setPasswordResp->assertSee('Password set, you should now be able to login using your set password to access BookStack!');
         $newPasswordValid = auth()->validate([
             'email'    => $user->email,
             'password' => 'my test password',