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

[5.5] Revert PR #22222 breaking change #22478

Merged
merged 1 commit into from
Dec 19, 2017
Merged

Conversation

themsaid
Copy link
Member

@themsaid themsaid commented Dec 19, 2017

This causes troubles while comparing models in tests, assertEquals($model, $another) where one model is recently created while the other is loaded from a relationship, the one recently created will have the getTable called and setTable will set the table, while the one retrieved will have $table = null causing the comparison to fail.

Original PR: https://github.com/laravel/framework/pull/22222/files

Check #22409 for reference

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