diff options
Diffstat (limited to 'tests/lib/App/AppStore/Fetcher/AppFetcherTest.php')
-rw-r--r-- | tests/lib/App/AppStore/Fetcher/AppFetcherTest.php | 2 |
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()) |