diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-01-14 15:13:21 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-01-14 15:13:21 +0100 |
commit | 7e4c80fd6055d20e90947b59706429fb619c17b0 (patch) | |
tree | 1750eef264dea1912f83558a751f4696c97e680b /tests/lib/files | |
parent | 4113042c8f8a24a604e64b0d774a9b8dbdb48567 (diff) | |
download | nextcloud-server-7e4c80fd6055d20e90947b59706429fb619c17b0.tar.gz nextcloud-server-7e4c80fd6055d20e90947b59706429fb619c17b0.zip |
use different value for mtime and storage_mtime in test
Diffstat (limited to 'tests/lib/files')
-rw-r--r-- | tests/lib/files/cache/updater.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/files/cache/updater.php b/tests/lib/files/cache/updater.php index ba103cee675..48986149a73 100644 --- a/tests/lib/files/cache/updater.php +++ b/tests/lib/files/cache/updater.php @@ -88,7 +88,7 @@ class Updater extends \PHPUnit_Framework_TestCase { public function testWrite() { $textSize = strlen("dummy file data\n"); $imageSize = filesize(\OC::$SERVERROOT . '/core/img/logo.png'); - $this->cache->put('foo.txt', array('mtime' => 100, 'storage_mtime' => 100)); + $this->cache->put('foo.txt', array('mtime' => 100, 'storage_mtime' => 150)); $rootCachedData = $this->cache->get(''); $this->assertEquals(3 * $textSize + $imageSize, $rootCachedData['size']); |