Correctly refresh the apps list after removing the mock

remotes/origin/fix-10825
Joas Schilling 11 years ago
parent 53318c4bb5
commit 289a27778e
  1. 3
      tests/lib/app.php

@ -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);
}
}

Loading…
Cancel
Save