Skip to content
Permalink
Browse files

Fix up usage of fail()

The first argument is expected to be a string.
  • Loading branch information...
markstory committed Oct 7, 2017
1 parent 42f8054 commit 06f3a0077206dd91da3a2f17af66ec5fca8ffac1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/TestSuite/IntegrationTestCase.php
@@ -762,7 +762,7 @@ protected function _assertStatus($min, $max, $message)
$status = $this->_response->getStatusCode();
if ($this->_exception && ($status < $min || $status > $max)) {
$this->fail($this->_exception);
$this->fail($this->_exception->getMessage());
}
$this->assertGreaterThanOrEqual($min, $status, $message);

0 comments on commit 06f3a00

Please sign in to comment.
You can’t perform that action at this time.