Correctly refresh the apps list after removing the mock

This commit is contained in:
Joas Schilling 2014-11-14 12:51:59 +01:00
parent 53318c4bb5
commit 289a27778e

View file

@ -460,6 +460,9 @@ class Test_App extends PHPUnit_Framework_TestCase {
\OC::$server->registerService('AppConfig', function ($c) use ($oldService){
return $oldService;
});
// Remove the cache of the mocked apps list with a forceRefresh
\OC_App::getEnabledApps(true);
}
}