Skip to content
Snippets Groups Projects
Commit a5d652a6 authored by Robin Appelman's avatar Robin Appelman Committed by Vincent Petry
Browse files

fix tests

parent 415f16eb
Branches
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment