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.4] Improve database testing methods #16679

Merged
merged 2 commits into from
Dec 7, 2016

Conversation

sileence
Copy link
Contributor

@sileence sileence commented Dec 6, 2016

Right now when seeInDatabase fails the developer does not get any feedback about what happened. Is the table empty? Was there a different record?

So this code will tell the developer if the table is empty or if other results where found. I'm sure it'll get in finding the problem faster.

@sileence sileence force-pushed the improve_database_testing branch from 0a71bfd to 402efac Compare December 7, 2016 12:28
@taylorotwell taylorotwell merged commit 402efac into laravel:master Dec 7, 2016
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