summaryrefslogtreecommitdiffstats
path: root/tests/lib/App/CodeChecker
diff options
context:
space:
mode:
authorThomas Müller <DeepDiver1975@users.noreply.github.com>2016-09-23 21:47:47 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-10-07 20:58:22 +0200
commit67d3574bdfdc08ad5815b5034a7c2c2e35afb4c0 (patch)
tree422684c7cb62f1f0e6b709e9160d0073cbadc5ea /tests/lib/App/CodeChecker
parentbccc4e618a58281f390b6baa88cc0b03b1e40172 (diff)
downloadnextcloud-server-67d3574bdfdc08ad5815b5034a7c2c2e35afb4c0.tar.gz
nextcloud-server-67d3574bdfdc08ad5815b5034a7c2c2e35afb4c0.zip
Don't parse info.xml but reuse already cached app infos - fixes #25603 (#25968)
* Don't parse info.xml but reuse already cached app infos - fixes #25603 * Use === in InfoParser. Fixes test * InfoParser should not depend on UrlGenerator - fixes issue with session being closed too early
Diffstat (limited to 'tests/lib/App/CodeChecker')
-rw-r--r--tests/lib/App/CodeChecker/InfoCheckerTest.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/lib/App/CodeChecker/InfoCheckerTest.php b/tests/lib/App/CodeChecker/InfoCheckerTest.php
index 1032e800be1..c16874fbd33 100644
--- a/tests/lib/App/CodeChecker/InfoCheckerTest.php
+++ b/tests/lib/App/CodeChecker/InfoCheckerTest.php
@@ -44,9 +44,7 @@ class InfoCheckerTest extends TestCase {
protected function setUp() {
parent::setUp();
- $infoParser = new InfoParser(\OC::$server->getURLGenerator());
-
- $this->infoChecker = new InfoChecker($infoParser);
+ $this->infoChecker = new InfoChecker(new InfoParser());
}
public function appInfoData() {