mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Merge pull request #649 from jellehenkens/2.2-router-test-typo
Fixing small variable typo in test case
This commit is contained in:
commit
0fdf9dd4d3
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