Skip to content
Snippets Groups Projects
Commit ac5bb97d authored by Joas Schilling's avatar Joas Schilling
Browse files

Reset the group backend aswell

parent 6e9f3b2f
Branches
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ abstract class TestCase extends \Test\TestCase {
// reset backend
\OC_User::clearBackends();
\OC_User::useBackend('database');
\OC_Group::clearBackends();
// clear share hooks
\OC_Hook::clear('OCP\\Share');
......@@ -130,6 +130,12 @@ abstract class TestCase extends \Test\TestCase {
\OC_User::setUserId('');
Filesystem::tearDown();
// reset backend
\OC_User::clearBackends();
\OC_User::useBackend('database');
\OC_Group::clearBackends();
\OC_Group::useBackend(new \OC_Group_Database());
parent::tearDownAfterClass();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment