Skip to content
Permalink
Browse files

Fix PHP 5.4 syntax.

  • Loading branch information...
markstory committed Apr 3, 2016
1 parent 1333cc4 commit 79db545b698cc23e784890a7398075d1212e29cc
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Test/Case/View/Helper/FormHelperTest.php
@@ -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);

0 comments on commit 79db545

Please sign in to comment.
You can’t perform that action at this time.