mirror of
https://github.com/nextcloud/server.git
synced 2024-08-29 17:54:44 +02:00
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
Block a user