Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/zendframework/zendframework#6402-zend-controller…
Browse files Browse the repository at this point in the history
…-test-grammar-fixes' into develop

Forward port zendframework/zendframework#6402
  • Loading branch information
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/PHPUnit/Controller/AbstractHttpControllerTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function assertResponseHeaderContains($header, $match)
$responseHeader = $this->getResponseHeader($header);
if (!$responseHeader) {
throw new PHPUnit_Framework_ExpectationFailedException(sprintf(
'Failed asserting response header, header "%s" do not exists',
'Failed asserting response header, header "%s" doesn\'t exist',
$header
));
}
Expand Down Expand Up @@ -135,7 +135,7 @@ public function assertNotResponseHeaderContains($header, $match)
$responseHeader = $this->getResponseHeader($header);
if (!$responseHeader) {
throw new PHPUnit_Framework_ExpectationFailedException(sprintf(
'Failed asserting response header, header "%s" do not exists',
'Failed asserting response header, header "%s" doesn\'t exist',
$header
));
}
Expand Down Expand Up @@ -168,7 +168,7 @@ public function assertResponseHeaderRegex($header, $pattern)
$responseHeader = $this->getResponseHeader($header);
if (!$responseHeader) {
throw new PHPUnit_Framework_ExpectationFailedException(sprintf(
'Failed asserting response header, header "%s" do not exists',
'Failed asserting response header, header "%s" doesn\'t exist',
$header
));
}
Expand Down Expand Up @@ -210,7 +210,7 @@ public function assertNotResponseHeaderRegex($header, $pattern)
$responseHeader = $this->getResponseHeader($header);
if (!$responseHeader) {
throw new PHPUnit_Framework_ExpectationFailedException(sprintf(
'Failed asserting response header, header "%s" do not exists',
'Failed asserting response header, header "%s" doesn\'t exist',
$header
));
}
Expand Down

0 comments on commit 254788d

Please sign in to comment.