euromark 11 years ago
parent
commit
a6fccdcf17
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/TestSuite/IntegrationTestCase.php

+ 3 - 2
src/TestSuite/IntegrationTestCase.php

@@ -372,11 +372,12 @@ abstract class IntegrationTestCase extends TestCase {
 	}
 
 /**
- * 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);
 	}