diff options
Diffstat (limited to 'tests/lib/filesystem.php')
-rw-r--r-- | tests/lib/filesystem.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/filesystem.php b/tests/lib/filesystem.php index 315471e8555..e22b3f1c0d8 100644 --- a/tests/lib/filesystem.php +++ b/tests/lib/filesystem.php @@ -73,7 +73,7 @@ class Test_Filesystem extends UnitTestCase { } public function testHooks() { - if(OC_User::isLoggedIn()){ + if(OC_Filesystem::getView()){ $user = OC_User::getUser(); }else{ $user=uniqid(); |