summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-02-27 12:42:53 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-02-27 12:44:07 +0100
commit2ba6cd4e2b779d43424fd2a037319923749666d2 (patch)
tree7c63be65e68c46b708e76a4d9bfa83fce0948a10 /tests
parent131c12ad8d51c4a0acad03299bd617907c9f1d66 (diff)
downloadnextcloud-server-2ba6cd4e2b779d43424fd2a037319923749666d2.tar.gz
nextcloud-server-2ba6cd4e2b779d43424fd2a037319923749666d2.zip
initialize etags of temporary storage
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/cache/updater.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/files/cache/updater.php b/tests/lib/files/cache/updater.php
index 57c799e608b..a6ee8c46661 100644
--- a/tests/lib/files/cache/updater.php
+++ b/tests/lib/files/cache/updater.php
@@ -122,6 +122,7 @@ class Updater extends \PHPUnit_Framework_TestCase {
public function testWriteWithMountPoints() {
$storage2 = new \OC\Files\Storage\Temporary(array());
+ $storage2->getScanner()->scan(''); //initialize etags
$cache2 = $storage2->getCache();
Filesystem::mount($storage2, array(), '/' . self::$user . '/files/folder/substorage');
$folderCachedData = $this->cache->get('folder');