Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip two factor authentication tests when the feature is disabled #1095

Merged
merged 1 commit into from
Jul 20, 2022
Merged

Skip two factor authentication tests when the feature is disabled #1095

merged 1 commit into from
Jul 20, 2022

Conversation

mbabker
Copy link
Contributor

@mbabker mbabker commented Jul 20, 2022

On a fresh install, many of the test stubs include checks for disabled features and those tests are skipped when appropriate. This isn't the case for the two factor authentication feature tests, so I propose adding those feature checks to the test stubs.

I realize this was suggested in #793 last year but IMO the two factor authentication checks not having these checks while the others do is an inconsistent behavior and it can be somewhat surprising to see failures for a disabled feature because of the missing checks.

@taylorotwell taylorotwell merged commit b8eae92 into laravel:2.x Jul 20, 2022
@mbabker mbabker deleted the check-2fa-feature branch July 20, 2022 16:26
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