diff options
Diffstat (limited to 'tests/lib/Files/FilesystemTest.php')
-rw-r--r-- | tests/lib/Files/FilesystemTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/Files/FilesystemTest.php b/tests/lib/Files/FilesystemTest.php index 8f34860d85a..96fcab77474 100644 --- a/tests/lib/Files/FilesystemTest.php +++ b/tests/lib/Files/FilesystemTest.php @@ -347,7 +347,7 @@ class FilesystemTest extends \Test\TestCase { \OC\Files\Filesystem::initMountPoints($userId); } - + public function testNullUserThrows() { $this->expectException(\OC\User\NoUserException::class); @@ -427,7 +427,7 @@ class FilesystemTest extends \Test\TestCase { public function testMountDefaultCacheDir() { $userId = $this->getUniqueID('user_'); $config = \OC::$server->getConfig(); - $oldCachePath = $config->getSystemValue('cache_path', ''); + $oldCachePath = $config->getSystemValueString('cache_path', ''); // no cache path configured $config->setSystemValue('cache_path', ''); @@ -457,7 +457,7 @@ class FilesystemTest extends \Test\TestCase { $userId = $this->getUniqueID('user_'); $config = \OC::$server->getConfig(); - $oldCachePath = $config->getSystemValue('cache_path', ''); + $oldCachePath = $config->getSystemValueString('cache_path', ''); // set cache path to temp dir $cachePath = \OC::$server->getTempManager()->getTemporaryFolder() . '/extcache'; $config->setSystemValue('cache_path', $cachePath); |