summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php
diff options
context:
space:
mode:
authorNils Wittenbrink <nilswittenbrink@web.de>2020-02-29 19:34:02 +0100
committerNils Wittenbrink <nilswittenbrink@web.de>2020-02-29 19:34:02 +0100
commitfc06b248383304f7111a3460e6b09df088bd5241 (patch)
tree28ed97a03a396dc91fb0ac1dd39f0b9513c7062c /apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php
parent4725fb9c1a5b2b4cfdf86dacdd6617a6aec3ee5e (diff)
downloadnextcloud-server-fc06b248383304f7111a3460e6b09df088bd5241.tar.gz
nextcloud-server-fc06b248383304f7111a3460e6b09df088bd5241.zip
Fix test
Signed-off-by: Nils Wittenbrink <nilswittenbrink@web.de>
Diffstat (limited to 'apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php')
-rw-r--r--apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php b/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php
index 5c81f71a199..6f538008e8b 100644
--- a/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php
+++ b/apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php
@@ -158,10 +158,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')