[Pkg-owncloud-commits] [owncloud] 31/74: Correctly refresh the apps list after removing the mock
David Prévot
taffit at moszumanska.debian.org
Tue Dec 2 22:04:35 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 122f3ff594ee58b06045d89c4d7017705a38e793
Author: Joas Schilling <nickvergessen at gmx.de>
Date: Fri Nov 14 12:51:59 2014 +0100
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 e538ebe..e8289f5 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);
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list