Skip to content

Commit

Permalink
Adding a status code test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Scherer committed Jan 26, 2015
1 parent 4e33ef0 commit 76f7754
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cake/Test/Case/TestSuite/ControllerTestCaseTest.php
Expand Up @@ -297,6 +297,7 @@ public function testTestAction() {
'Location' => 'http://cakephp.org'
);
$this->assertEquals($expected, $results);
$this->assertSame(302, $Controller->response->statusCode());
}

/**
Expand Down

0 comments on commit 76f7754

Please sign in to comment.