Skip to content

Commit

Permalink
Fix 5.4 only syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 5, 2013
1 parent cb91a2d commit 1ce8954
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Test/Case/Cache/CacheTest.php
Expand Up @@ -501,11 +501,11 @@ public function testSetOnAlternateConfigs() {
*/ */
public function testRemember() { public function testRemember() {
$expected = 'This is some data 0'; $expected = 'This is some data 0';
$result = Cache::remember('test_key', [$this, 'cacher'], 'default'); $result = Cache::remember('test_key', array($this, 'cacher'), 'default');
$this->assertEquals($expected, $result); $this->assertEquals($expected, $result);


$this->_count = 1; $this->_count = 1;
$result = Cache::remember('test_key', [$this, 'cacher'], 'default'); $result = Cache::remember('test_key', array($this, 'cacher'), 'default');
$this->assertEquals($expected, $result); $this->assertEquals($expected, $result);
} }


Expand Down

0 comments on commit 1ce8954

Please sign in to comment.