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

seeHttpHeader in REST module #1329

Closed
callada opened this issue Aug 19, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@callada
Copy link

commented Aug 19, 2014

When used with falsish value, seeHttpHeader checks existence of a header only. For example test $I->seeHttpHeader('Example-Header', '0') will pass even if the actual value of Example-Header is different than '0'

@DavertMik

This comment has been minimized.

Copy link
Member

commented Aug 30, 2014

Yep, this is a bug, '0' == false, so seeHttpHeader will check only header existence in this case. Going to fix it now

@DavertMik DavertMik added the bug label Aug 30, 2014

@DavertMik DavertMik added this to the 2.0.6 milestone Aug 30, 2014

@DavertMik DavertMik closed this in 0044d9c Aug 30, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.