summaryrefslogtreecommitdiffstats
path: root/tests/lib/files/cache
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-07 14:30:01 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 14:30:01 +0200
commit2d2cb09715554926945de29b80f033905a219abd (patch)
tree040530bab8f265f7f92e5445cc7396f5ee16b90a /tests/lib/files/cache
parent161d80da5bd1f025dfec40dd18ae17e343dd7b5d (diff)
downloadnextcloud-server-2d2cb09715554926945de29b80f033905a219abd.tar.gz
nextcloud-server-2d2cb09715554926945de29b80f033905a219abd.zip
fixing unit test - expected value change due to different size being stored in cache table
Diffstat (limited to 'tests/lib/files/cache')
-rw-r--r--tests/lib/files/cache/cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/files/cache/cache.php b/tests/lib/files/cache/cache.php
index 3d7f77cb54e..9a64375f4e3 100644
--- a/tests/lib/files/cache/cache.php
+++ b/tests/lib/files/cache/cache.php
@@ -205,7 +205,7 @@ class Cache extends \Test\TestCase {
$fileData['unkownSize'] = array('size' => 5, 'mtime' => 25, 'mimetype' => 'foo/file');
$this->cache->put($file4, $fileData['unkownSize']);
- $this->assertEquals(916, $this->cache->calculateFolderSize($file1));
+ $this->assertEquals(1025, $this->cache->calculateFolderSize($file1));
// direct cache entry retrieval returns the original values
$entry = $this->cache->get($file1);
$this->assertEquals(1025, $entry['size']);