better detect if we need to init the filesystem for the hooks test

remotes/origin/stable45
Robin Appelman 13 years ago
parent 4cdfc72d58
commit 671c8b94b1
  1. 2
      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();

Loading…
Cancel
Save