From: Joas Schilling Date: Fri, 14 Nov 2014 11:51:59 +0000 (+0100) Subject: Correctly refresh the apps list after removing the mock X-Git-Tag: v7.0.4RC1~22^2~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=122f3ff594ee58b06045d89c4d7017705a38e793;p=nextcloud-server.git Correctly refresh the apps list after removing the mock --- 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); } }