Dont use php5.4 only features
This commit is contained in:
parent
ec7c339930
commit
642d8e370e
|
@ -169,8 +169,9 @@ class Cache extends \PHPUnit_Framework_TestCase {
|
||||||
|
|
||||||
$this->assertEquals(916, $this->cache->calculateFolderSize($file1));
|
$this->assertEquals(916, $this->cache->calculateFolderSize($file1));
|
||||||
// direct cache entry retrieval returns the original values
|
// direct cache entry retrieval returns the original values
|
||||||
$this->assertEquals(1025, $this->cache->get($file1)['size']);
|
$cacheResult = $this->cache->get($file1);
|
||||||
$this->assertEquals(916, $this->cache->get($file1)['unencrypted_size']);
|
$this->assertEquals(1025, $cacheResult['size']);
|
||||||
|
$this->assertEquals(916, $cacheResult['unencrypted_size']);
|
||||||
|
|
||||||
$this->cache->remove($file2);
|
$this->cache->remove($file2);
|
||||||
$this->cache->remove($file3);
|
$this->cache->remove($file3);
|
||||||
|
|
Loading…
Reference in New Issue