Browse Source

Fix tests.

Mark Scherer 10 years ago
parent
commit
2f064b1131
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/TestCase/View/Helper/FormHelperTest.php

+ 2 - 2
tests/TestCase/View/Helper/FormHelperTest.php

@@ -727,7 +727,7 @@ class FormHelperTest extends TestCase
         ];
         $this->assertHtml($expected, $result);
 
-        $result = $this->Form->create(false, ['action' => false]);
+        $result = $this->Form->create(false, ['url' => ['action' => false]]);
         $this->assertHtml($expected, $result);
     }
 
@@ -783,7 +783,7 @@ class FormHelperTest extends TestCase
         $result = $this->Form->create(
             $this->article,
             [
-                'type' => 'post', 'action' => 'index', 'encoding' => 'iso-8859-1'
+                'type' => 'post', 'url' => ['action' => 'index'], 'encoding' => 'iso-8859-1'
             ]
         );
         $expected = [