Commit ac5bb97d authored by Joas Schilling's avatar Joas Schilling
Browse files

Reset the group backend aswell

parent 6e9f3b2f
......@@ -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();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment