Skip to content

Commit a738a48

Browse files
committed
wip
Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 2885afe commit a738a48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Browser/Auth/PasswordResetTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
Notification::fake();
3737

38-
Password::sendResetLink($user->email);
38+
Password::sendResetLink(['email' => $user->email]);
3939

4040
Notification::assertSentTo($user, ResetPassword::class, function ($notification) {
4141
visit(route('password.reset', $notification->token))
@@ -51,7 +51,7 @@
5151

5252
Notification::fake();
5353

54-
post(route('password.email'), ['email' => $user->email]);
54+
Password::sendResetLink(['email' => $user->email]);
5555

5656
Notification::assertSentTo($user, ResetPassword::class, function ($notification) use ($user) {
5757
visit(route('password.reset', ['token' => $notification->token, 'email' => $user->email]))

0 commit comments

Comments
 (0)