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:
authorLukas Reschke <lukas@statuscode.ch>2017-07-17 09:18:52 +0300
committerLukas Reschke <lukas@statuscode.ch>2017-07-17 12:16:16 +0300
commitce3c277e43826fc53f636f6e2d3175cb1bd91c2f (patch)
tree7a31d41a11000d6fc2aa9586f8a27c9690764d5b
parent66c2e52c803157cfecedbcf6da91bbeb6aa143ba (diff)
Adjust tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
-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())