diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-11-14 12:51:59 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-11-17 10:48:17 +0100 |
commit | 289a27778e78bb69830b5b05f4084627a781157b (patch) | |
tree | 489e34a7c88600b0f22cc5d5a63b59c901bdb0e8 /tests/lib/app.php | |
parent | 53318c4bb5910ee27daa3e8ffe8f6b253d40a042 (diff) | |
download | nextcloud-server-289a27778e78bb69830b5b05f4084627a781157b.tar.gz nextcloud-server-289a27778e78bb69830b5b05f4084627a781157b.zip |
Correctly refresh the apps list after removing the mock
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); } } |