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

[2.x] Prevent MissingAttributeException #1213

Merged
merged 2 commits into from
Jan 9, 2023

Conversation

jessarcher
Copy link
Member

Fixes #1164

This is a resubmit of #1168 which was reverted in #1170 due to failing tests. The tests were failing because the two_factor_* columns are added by a Fortify migration which was not being run. I have solved this by configuring the Fortify migrations to run during testing. This has the nice side-effect of allowing us to remove manual migration code from one of the tests 🎉

@jessarcher jessarcher changed the title Prevent MissingAttributeException [2.x] Prevent MissingAttributeException Jan 9, 2023
@taylorotwell taylorotwell merged commit 6f661f6 into 2.x Jan 9, 2023
@taylorotwell taylorotwell deleted the prevent-accessing-missing-attributes branch January 9, 2023 14:38
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.

Doesn't work with Laravel 9.35 Model::preventsAccessingMissingAttributes()
3 participants