Browse Source

Remove deprecated test.

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

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

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