Skip to content

Commit 48e7b90

Browse files
committed
Refactor Test
1 parent 3c0bbaa commit 48e7b90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Feature/Auth/PasswordResetTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function test_reset_password_screen_can_be_rendered()
3838

3939
$this->post(route('password.email'), ['email' => $user->email]);
4040

41-
Notification::assertSentTo($user, ResetPassword::class, function ($notification) use ($user) {
41+
Notification::assertSentTo($user, ResetPassword::class, function ($notification) {
4242
$response = $this->get(route('password.reset', $notification->token));
4343

4444
$response->assertStatus(200);

0 commit comments

Comments
 (0)