initialize etags of temporary storage

This commit is contained in:
Jörn Friedrich Dreyer 2014-02-27 12:42:53 +01:00
parent 131c12ad8d
commit 2ba6cd4e2b

View file

@ -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');