nextcloud/tests/lib/files
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
..
cache Replace originalStorage in tests with a proper teardown 2015-04-08 12:45:38 +02:00
mount Prevent wrapping null storage 2015-01-27 17:40:08 +01:00
node Replace originalStorage in tests with a proper teardown 2015-04-08 12:45:38 +02:00
objectstore Add a test for ObjectStore\NoopScanner 2015-03-04 11:48:31 +01:00
storage fixing unit test - expected value change due to different size being stored in cache table 2015-04-07 14:30:01 +02:00
stream fixing unit test execution - test dummy module was behaving wrong 2015-04-07 13:30:31 +02:00
utils Replace originalStorage in tests with a proper teardown 2015-04-08 12:45:38 +02:00
etagtest.php Replace originalStorage in tests with a proper teardown 2015-04-08 12:45:38 +02:00
filesystem.php Replace originalStorage in tests with a proper teardown 2015-04-08 12:45:38 +02:00
mapper.php Normalize before processing 2015-02-06 15:03:29 +01:00
pathverificationtest.php Add positive test for path verification 2015-03-17 18:17:30 +01:00
view.php Replace originalStorage in tests with a proper teardown 2015-04-08 12:45:38 +02:00