Adding a status code test.

This commit is contained in:
Mark Scherer 2015-01-26 10:29:52 +01:00
parent 4e33ef0386
commit 76f7754014

View file

@ -297,6 +297,7 @@ class ControllerTestCaseTest extends CakeTestCase {
'Location' => 'http://cakephp.org'
);
$this->assertEquals($expected, $results);
$this->assertSame(302, $Controller->response->statusCode());
}
/**