Skip to content

Commit

Permalink
Update asserted redirect route (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpheller authored Feb 14, 2022
1 parent 7cd6891 commit db9819c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/api/pest-tests/Feature/EmailVerificationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

Event::assertDispatched(Verified::class);
expect($user->fresh()->hasVerifiedEmail())->toBeTrue();
$response->assertRedirect(RouteServiceProvider::HOME.'?verified=1');
$response->assertRedirect(config('app.frontend_url').RouteServiceProvider::HOME.'?verified=1');
});

test('email is not verified with invalid hash', function () {
Expand Down

0 comments on commit db9819c

Please sign in to comment.