From 122f3ff594ee58b06045d89c4d7017705a38e793 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 14 Nov 2014 12:51:59 +0100 Subject: [PATCH] Correctly refresh the apps list after removing the mock --- tests/lib/app.php | 3 +++ 1 file changed, 3 insertions(+) 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); } } -- 2.39.5