Correctly refresh the apps list after removing the mock
This commit is contained in:
parent
53318c4bb5
commit
289a27778e
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue