Skip to content
Snippets Groups Projects
Commit 23e65786 authored by Vincent Petry's avatar Vincent Petry
Browse files

Fix array access syntax for older PHP

There was a syntax error when running tests in PHP 5.3.10.
parent 16033c81
Branches
No related tags found
No related merge requests found
......@@ -169,8 +169,9 @@ class Cache extends \PHPUnit_Framework_TestCase {
$this->assertEquals(916, $this->cache->calculateFolderSize($file1));
// direct cache entry retrieval returns the original values
$this->assertEquals(1025, $this->cache->get($file1)['size']);
$this->assertEquals(916, $this->cache->get($file1)['unencrypted_size']);
$entry = $this->cache->get($file1);
$this->assertEquals(1025, $entry['size']);
$this->assertEquals(916, $entry['unencrypted_size']);
$this->cache->remove($file2);
$this->cache->remove($file3);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment