Fix PHP 5.4 syntax.

This commit is contained in:
mark_story 2016-04-02 21:45:02 -04:00
parent 1333cc4b3e
commit 79db545b69

View file

@ -8135,9 +8135,9 @@ class FormHelperTest extends CakeTestCase {
$hash .= '%3A'; $hash .= '%3A';
$this->Form->request->params['_Token']['key'] = 'test'; $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->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'); $result = $this->View->fetch('postLink');
$this->assertEquals(array('Post.title'), $this->Form->fields); $this->assertEquals(array('Post.title'), $this->Form->fields);