Permalink
Browse files

Fix 5.4 only syntax.

  • Loading branch information...
1 parent cb91a2d commit 1ce89545bd9f267713d6238e97387d9412cc25c6 @markstory markstory committed Oct 5, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Test/Case/Cache/CacheTest.php
@@ -501,11 +501,11 @@ public function testSetOnAlternateConfigs() {
*/
public function testRemember() {
$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->_count = 1;
- $result = Cache::remember('test_key', [$this, 'cacher'], 'default');
+ $result = Cache::remember('test_key', array($this, 'cacher'), 'default');
$this->assertEquals($expected, $result);
}

0 comments on commit 1ce8954

Please sign in to comment.