mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Adding a status code test.
This commit is contained in:
parent
4e33ef0386
commit
76f7754014
1 changed files with 1 additions and 0 deletions
|
@ -297,6 +297,7 @@ class ControllerTestCaseTest extends CakeTestCase {
|
|||
'Location' => 'http://cakephp.org'
|
||||
);
|
||||
$this->assertEquals($expected, $results);
|
||||
$this->assertSame(302, $Controller->response->statusCode());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue