nextcloud/tests/lib/files/cache
Vincent Petry f8cfc03f36 Replace originalStorage in tests with a proper teardown
The purpose of $originalStorage in unit tests was to remount the old
root.
However that storage itself is already wrapped by storage wrapper, so
remounting it would rewrap the storage several times.

This fix makes use of "loginAsUser()" and "logout()" from the TestCase
class to properly initialize and cleanup the FS as expected.
2015-04-08 12:45:38 +02:00
..
wrapper Add storage and cache wrappers to apply a permissions mask to a storage 2014-11-27 15:25:57 +01:00
cache.php fixing unit test - expected value change due to different size being stored in cache table 2015-04-07 14:30:01 +02:00
changepropagator.php Dont lower the mtime of a folder when propagating changes 2015-02-13 14:30:05 +01:00
homecache.php Use base class to reset the file mapper 2014-11-19 14:52:07 +01:00
scanner.php Use base class to reset the file mapper 2014-11-19 14:52:07 +01:00
updater.php Replace originalStorage in tests with a proper teardown 2015-04-08 12:45:38 +02:00
updaterlegacy.php Replace originalStorage in tests with a proper teardown 2015-04-08 12:45:38 +02:00
watcher.php Replace originalStorage in tests with a proper teardown 2015-04-08 12:45:38 +02:00