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

Improvments #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Improvments #9

wants to merge 3 commits into from

Conversation

adrienbrault
Copy link

I may add more things, but opening now to gather feedback!

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:

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.

@arnolanglade
Copy link

@stof / @adrienbrault What's status of this ?

*/
public function theResponseHeaderShouldBeEqualTo($header, $value)
{
Assertions::assertSame($this->response->getHeader($header), $value);
Copy link
Contributor

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))

@greg0ire
Copy link
Contributor

@adrienbrault : This P.R. contains many different things. Maybe splitting it would make it easier to merge?

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.

4 participants