Fix mock call to download

We can only mock public and protected functions in phpunit.
This commit is contained in:
Roeland Jago Douma 2016-01-13 11:30:22 +01:00 committed by Thomas Müller
parent 1fca96656d
commit 4a3b6da183
1 changed files with 1 additions and 1 deletions

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