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] Create assertion to determine if a header is missing #22849

Merged
merged 1 commit into from
Jan 19, 2018
Merged

[5.5] Create assertion to determine if a header is missing #22849

merged 1 commit into from
Jan 19, 2018

Conversation

roberto-aguilar
Copy link
Contributor

@roberto-aguilar roberto-aguilar commented Jan 18, 2018

This assertHeaderMissing assertion is the counterpart of the \Illuminate\Foundation\Testing\TestResponse::assertHeader and will make the test fail if the given header name is present in the response.

It's naming is also consistent with the assertions assertCookie and assertCookieMissing.

This is the counterpart of the `assertHeader` assertion and will fail if
the given header is present in the response.
@GrahamCampbell GrahamCampbell changed the title Create assertion to determine if a header is missing [5.5] Create assertion to determine if a header is missing Jan 19, 2018
@taylorotwell taylorotwell merged commit 02526ac into laravel:5.5 Jan 19, 2018
@roberto-aguilar roberto-aguilar deleted the feature/header-missing-assertion branch January 19, 2018 14:02
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