]> BookStack Code Mirror - bookstack/blobdiff - tests/Auth/ResetPasswordTest.php
Fixed notification preferences URL in email
[bookstack] / tests / Auth / ResetPasswordTest.php
index e60ac5643ac6e9a8d403c5839f011c797f8cb93c..d2af17b9cfb9318237966872f2c93d1f4a465ba9 100644 (file)
@@ -95,7 +95,7 @@ class ResetPasswordTest extends TestCase
         $resp = $this->followingRedirects()->post('/password/email', [
             'email' => $editor->email,
         ]);
-        Notification::assertTimesSent(1, ResetPasswordNotification::class);
+        Notification::assertSentTimes(ResetPasswordNotification::class, 1);
         $resp->assertSee('A password reset link will be sent to ' . $editor->email . ' if that email address is found in the system.');
     }
 }