From 79db545b698cc23e784890a7398075d1212e29cc Mon Sep 17 00:00:00 2001 From: mark_story Date: Sat, 2 Apr 2016 21:45:02 -0400 Subject: [PATCH] Fix PHP 5.4 syntax. --- lib/Cake/Test/Case/View/Helper/FormHelperTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php index 72884cc73..2ca621712 100644 --- a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php +++ b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php @@ -8135,9 +8135,9 @@ class FormHelperTest extends CakeTestCase { $hash .= '%3A'; $this->Form->request->params['_Token']['key'] = 'test'; - $this->Form->create('Post', ['url' => ['action' => 'add']]); + $this->Form->create('Post', array('url' => array('action' => 'add'))); $this->Form->input('title'); - $this->Form->postLink('Delete', '/posts/delete/1', ['inline' => false]); + $this->Form->postLink('Delete', '/posts/delete/1', array('inline' => false)); $result = $this->View->fetch('postLink'); $this->assertEquals(array('Post.title'), $this->Form->fields);