Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Dec 14, 2014
1 parent b872912 commit a6fccdc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/TestSuite/IntegrationTestCase.php
Expand Up @@ -372,11 +372,12 @@ public function assertResponseFailure() {
}

/**
* Assert a specific response status code.
* Asserts a specific response status code.
*
* @param int $code Status code to assert.
* @return void
*/
public function assertResponse($code) {
public function assertResponseCode($code) {
$actual = $this->_response->statusCode();
$this->_assertStatus($code, $code, 'Status code is not ' . $code . ' but ' . $actual);
}
Expand Down

0 comments on commit a6fccdc

Please sign in to comment.