From fb3cf8ca28bbfb5c3686e793b12efafc80d4a303 Mon Sep 17 00:00:00 2001 From: Nils Wittenbrink Date: Sat, 29 Feb 2020 19:34:02 +0100 Subject: [PATCH] Fix test Signed-off-by: Nils Wittenbrink --- .../Provisioning/Apple/AppleProvisioningPluginTest.php | 7 +++---- 1 file 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') -- 2.39.5