diff --git a/tests/TestCase/View/Helper/FormHelperTest.php b/tests/TestCase/View/Helper/FormHelperTest.php index cb4a9d2667e..698cfcc274c 100644 --- a/tests/TestCase/View/Helper/FormHelperTest.php +++ b/tests/TestCase/View/Helper/FormHelperTest.php @@ -715,7 +715,7 @@ public function testCreateAutoUrl() */ 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 @@ public function testCreateNoUrl() '/div' ]; $this->assertHtml($expected, $result); - - $result = $this->Form->create(false, ['url' => ['action' => false]]); - $this->assertHtml($expected, $result); } /**