From ce3c277e43826fc53f636f6e2d3175cb1bd91c2f Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 17 Jul 2017 08:18:52 +0200 Subject: [PATCH] Adjust tests Signed-off-by: Lukas Reschke --- tests/lib/App/AppStore/Fetcher/AppFetcherTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/App/AppStore/Fetcher/AppFetcherTest.php b/tests/lib/App/AppStore/Fetcher/AppFetcherTest.php index 7fbbde722e7..2eb583f98d6 100644 --- a/tests/lib/App/AppStore/Fetcher/AppFetcherTest.php +++ b/tests/lib/App/AppStore/Fetcher/AppFetcherTest.php @@ -114,7 +114,7 @@ EOD; $client ->expects($this->once()) ->method('get') - ->with('https://apps.nextcloud.com/api/v1/platform/11.0.3/apps.json') + ->with('https://apps.nextcloud.com/api/v1/platform/'.substr(implode('.', \OC_Util::getVersion()), 0, 6).'/apps.json') ->willReturn($response); $response ->expects($this->once())