Skip to content

Commit 015b11a

Browse files
tekantesanpii
authored andcommitted
Updated grammar for symmetry with the ":name should be equal to :value" option
1 parent a1fb729 commit 015b11a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Context/RestContext.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function theHeaderShouldBeEqualTo($name, $value)
115115
/**
116116
* Checks, whether the header name is not equal to given text
117117
*
118-
* @Then the header :name should not equal :value
118+
* @Then the header :name should not be equal to :value
119119
*/
120120
public function theHeaderShouldNotBeEqualTo($name, $value) {
121121
$actual = $this->getSession()->getResponseHeader($name);

tests/features/rest.feature

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Feature: Testing RESTContext
44
When I send a GET request to "rest/index.php"
55
And the header "Content-Type" should contain "text"
66
And the header "Content-Type" should be equal to "text/html; charset=UTF-8"
7-
And the header "Content-Type" should not equal "x-test/no-such-type"
7+
And the header "Content-Type" should not be equal to "x-test/no-such-type"
88
And the header "Content-Type" should not contain "text/json"
99
And the header "xxx" should not exist
1010
And the response should expire in the future

0 commit comments

Comments
 (0)