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 1 commit into from May 25, 2018


None yet
2 participants

mnabialek commented May 24, 2018

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


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

2 checks passed

continuous-integration/styleci/pr The analysis has passed
continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment