Adjust tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
66c2e52c80
commit
ce3c277e43
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue