-
Notifications
You must be signed in to change notification settings - Fork 113
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
Improvments #9
base: master
Are you sure you want to change the base?
Improvments #9
Conversation
Then the response header "Content-Type" should not be equal to "application" | ||
""" | ||
When I run "behat features/assert_headers.feature" | ||
Then it should pass with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this step (and other steps where command output is not inportant) could be simplified:
Then it should pass
I think there is no need to test progress formatter.
@stof / @adrienbrault What's status of this ? |
*/ | ||
public function theResponseHeaderShouldBeEqualTo($header, $value) | ||
{ | ||
Assertions::assertSame($this->response->getHeader($header), $value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe there should be an other assertion stating that the header should exist Assertions::assertTrue($this->response->hasHeader($header))
@adrienbrault : This P.R. contains many different things. Maybe splitting it would make it easier to merge? |
I may add more things, but opening now to gather feedback!