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.6] Add assertion to verify there are no errors #24308

Merged
merged 1 commit into from
May 25, 2018

Conversation

mnabialek
Copy link
Contributor

This allows to verify if there are errors without looking at Framework details. Now inside assertSessionHasErrors(), there is call:

$this->assertSessionHas('errors');

but if you want to make sure there are no errors, you need to really know that there shouldn't be errors key in session. After adding this method you don't need to care how it's implemented any more.

@taylorotwell taylorotwell merged commit a3d99ca into laravel:5.6 May 25, 2018
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.

None yet

2 participants