diff options
author | Nils Wittenbrink <nilswittenbrink@web.de> | 2020-02-29 19:34:02 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-03-11 08:31:47 +0000 |
commit | fb3cf8ca28bbfb5c3686e793b12efafc80d4a303 (patch) | |
tree | ce66c74826d9fb49a21e6d8dc2613e1d24973893 /apps | |
parent | 372a3ddd507e6c329bb24b6d976ecff60f5b8a1b (diff) | |
download | nextcloud-server-fb3cf8ca28bbfb5c3686e793b12efafc80d4a303.tar.gz nextcloud-server-fb3cf8ca28bbfb5c3686e793b12efafc80d4a303.zip |
Fix test
Signed-off-by: Nils Wittenbrink <nilswittenbrink@web.de>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/tests/unit/Provisioning/Apple/AppleProvisioningPluginTest.php | 7 |
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') |