Skip to content

[5.4] Fix inversion of expected and actual on assertHeader - #19110

Merged
taylorotwell merged 1 commit into
laravel:5.4from
stephane-monnot:5.4
May 9, 2017
Merged

[5.4] Fix inversion of expected and actual on assertHeader#19110
taylorotwell merged 1 commit into
laravel:5.4from
stephane-monnot:5.4

Conversation

@stephane-monnot

Copy link
Copy Markdown
Contributor

Example:
If we have a location header /foo in response and we test with the method assertHeader('/bar'),
we should have:

  • expected value equals to /bar
  • actual value equals to /foo

but we actually have:

  • expected value equals to /foo
  • actual value equals to /bar

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