Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dvlpp committed Oct 13, 2023
1 parent 0a15fbf commit fdbc6b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Http/Auth/PasswordResetEloquentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

$this->post(route('code16.sharp.password.request.post'), ['email' => $user->email])
->assertRedirect(route('code16.sharp.password.request'))
->assertSessionHas('status', 'password-reset-link-sent');
->assertSessionHas('status', __('sharp::passwords.sent'));

Notification::assertSentTo($user, ResetPassword::class);
});
Expand Down
2 changes: 1 addition & 1 deletion tests/Http/Auth/PasswordResetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

$this->post(route('code16.sharp.password.request.post'), ['email' => '[email protected]'])
->assertRedirect(route('code16.sharp.password.request'))
->assertSessionHas('status', 'password-reset-link-sent');
->assertSessionHas('status', __('sharp::passwords.sent'));
});

it('allows to reset password', function () {
Expand Down

0 comments on commit fdbc6b5

Please sign in to comment.