Browse Source

Correctly refresh the apps list after removing the mock

tags/v8.0.0alpha1
Joas Schilling 9 years ago
parent
commit
289a27778e
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      tests/lib/app.php

+ 3
- 0
tests/lib/app.php 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);
}
}


Loading…
Cancel
Save