mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing small variable typo
This commit is contained in:
parent
a3a2655fd5
commit
c2920aa3bf
1 changed files with 2 additions and 2 deletions
|
@ -2487,7 +2487,7 @@ class RouterTest extends CakeTestCase {
|
|||
*/
|
||||
public function testResourceMap() {
|
||||
$default = Router::resourceMap();
|
||||
$exepcted = array(
|
||||
$expected = array(
|
||||
array('action' => 'index', 'method' => 'GET', 'id' => false),
|
||||
array('action' => 'view', 'method' => 'GET', 'id' => true),
|
||||
array('action' => 'add', 'method' => 'POST', 'id' => false),
|
||||
|
@ -2495,7 +2495,7 @@ class RouterTest extends CakeTestCase {
|
|||
array('action' => 'delete', 'method' => 'DELETE', 'id' => true),
|
||||
array('action' => 'edit', 'method' => 'POST', 'id' => true)
|
||||
);
|
||||
$this->assertEquals($default, $exepcted);
|
||||
$this->assertEquals($default, $expected);
|
||||
|
||||
$custom = array(
|
||||
array('action' => 'index', 'method' => 'GET', 'id' => false),
|
||||
|
|
Loading…
Reference in a new issue