Skip to content

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