mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
initialize etags of temporary storage
This commit is contained in:
parent
131c12ad8d
commit
2ba6cd4e2b
1 changed files with 1 additions and 0 deletions
1
tests/lib/files/cache/updater.php
vendored
1
tests/lib/files/cache/updater.php
vendored
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue