Adjust tests

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-07-17 08:18:52 +02:00
parent 66c2e52c80
commit ce3c277e43
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 1 additions and 1 deletions

View File

@ -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())