Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/App/AppStore/Fetcher/AppFetcherTest.php')
-rw-r--r--tests/lib/App/AppStore/Fetcher/AppFetcherTest.php2
1 files changed, 1 insertions, 1 deletions
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())