Browse Source

Fix mock call to download

We can only mock public and protected functions in phpunit.
tags/v9.0beta1
Roeland Jago Douma 8 years ago
parent
commit
4a3b6da183
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/dav/lib/carddav/syncservice.php

+ 1
- 1
apps/dav/lib/carddav/syncservice.php View File

@@ -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',

Loading…
Cancel
Save