fix tests
This commit is contained in:
parent
415f16eb24
commit
a5d652a6b8
|
@ -174,8 +174,10 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase {
|
|||
\OC\Files\Filesystem::tearDown();
|
||||
\OC_User::setUserId($user);
|
||||
\OC_Util::setupFS($user);
|
||||
if (\OC_User::userExists($user)) {
|
||||
\OC::$server->getUserFolder($user);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Logout the current user and tear down the filesystem.
|
||||
|
|
Loading…
Reference in New Issue