Browse Source

Use url=>false for not displaying action.

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

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

@@ -715,7 +715,7 @@ class FormHelperTest extends TestCase
      */
     public function testCreateNoUrl()
     {
-        $result = $this->Form->create(false, ['url' => ['action' => false]]);
+        $result = $this->Form->create(false, ['url' => false]);
         $expected = [
             'form' => [
                 'method' => 'post',