Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix PHP 5.4 syntax.
  • Loading branch information
markstory committed Apr 3, 2016
1 parent 1333cc4 commit 79db545
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Test/Case/View/Helper/FormHelperTest.php
Expand Up @@ -8135,9 +8135,9 @@ public function testPostLinkSecurityHashInline() {
$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);
Expand Down

0 comments on commit 79db545

Please sign in to comment.