diff options
Diffstat (limited to 'tests/lib/app.php')
-rw-r--r-- | tests/lib/app.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/app.php b/tests/lib/app.php index e538ebec8a0..e8289f58a26 100644 --- a/tests/lib/app.php +++ b/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); } } |