Skip to content

Add test for redirect on verification.verify route for verified user#461

Closed
lokomilo wants to merge 1 commit intolaravel:2.xfrom
lokomilo:patch-2
Closed

Add test for redirect on verification.verify route for verified user#461
lokomilo wants to merge 1 commit intolaravel:2.xfrom
lokomilo:patch-2

Conversation

@lokomilo
Copy link

An already verified user visiting the verification.verify route is redirected to the dashboard without dispatching the Verified event.

This occurs on line 18 in stubs/default/app/Http/Controllers/Auth/VerifyEmailController.php and line 18 in stubs/inertia-common/app/Http/Controllers/Auth/VerifyEmailController.php.

This functionality does not seem to be tested.

This pull request adds a test for the path.

An already verified user visiting the `verification.verify` route is redirected to the dashboard without dispatching the `Verified` event.

This occurs on line 18 in `stubs/default/app/Http/Controllers/Auth/VerifyEmailController.php` and line 18 in `stubs/inertia-common/app/Http/Controllers/Auth/VerifyEmailController.php`.

This functionality does not seem to be tested.

This pull request adds a test for the path.
@github-actions
Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@lokomilo lokomilo marked this pull request as ready for review January 28, 2025 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants