mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix PHP 5.4 syntax.
This commit is contained in:
parent
1333cc4b3e
commit
79db545b69
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue