diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-13 11:30:22 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-13 12:27:48 +0100 |
commit | 4a3b6da1838a328315961ac1ac7793f005264df6 (patch) | |
tree | 71073bc71de9f7dcc2bfcf32ca1adc045a22f953 /apps/dav | |
parent | 1fca96656d0f64e00d26cdcd2e8788c640f1230b (diff) | |
download | nextcloud-server-4a3b6da1838a328315961ac1ac7793f005264df6.tar.gz nextcloud-server-4a3b6da1838a328315961ac1ac7793f005264df6.zip |
Fix mock call to download
We can only mock public and protected functions in phpunit.
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/carddav/syncservice.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/carddav/syncservice.php b/apps/dav/lib/carddav/syncservice.php index 148ba4b9081..30dc78c4877 100644 --- a/apps/dav/lib/carddav/syncservice.php +++ b/apps/dav/lib/carddav/syncservice.php @@ -124,7 +124,7 @@ class SyncService { * @param string $resourcePath * @return array */ - private function download($url, $sharedSecret, $resourcePath) { + protected function download($url, $sharedSecret, $resourcePath) { $settings = [ 'baseUri' => $url, 'userName' => 'system', |