Fix mock call to download
We can only mock public and protected functions in phpunit.
This commit is contained in:
parent
1fca96656d
commit
4a3b6da183
|
@ -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…
Reference in New Issue