]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix test 19885/head
authorNils Wittenbrink <nilswittenbrink@web.de>
Sat, 29 Feb 2020 18:34:02 +0000 (19:34 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Wed, 11 Mar 2020 08:32:02 +0000 (08:32 +0000)
Signed-off-by: Nils Wittenbrink <nilswittenbrink@web.de>
apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php

index 57ad65372e1c7410f52c659f749d40b22bd9e0f6..77118114a85a29683acb2d28821f27d3594e0a98 100644 (file)
@@ -155,10 +155,9 @@ class AppleProvisioningPluginTest extends TestCase {
                        ->method('getServerProtocol')
                        ->wilLReturn('https');
 
-               $this->sabreRequest->expects($this->at(1))
-                       ->method('getAbsoluteUrl')
-                       ->with()
-                       ->willReturn('https://nextcloud.tld/nextcloud/remote.php/dav/provisioning/apple-provisioning.mobileconfig');
+               $this->urlGenerator->expects($this->once())
+                       ->method('getBaseUrl')
+                       ->willReturn('https://nextcloud.tld/nextcloud');
 
                $this->themingDefaults->expects($this->at(0))
                        ->method('getName')