@@ -137,6 +137,11 @@ public function testGetWithNotExistingFileAndUpToDateTimestampAndVersion() {
137137 $ this ->config
138138 ->expects ($ this ->at (3 ))
139139 ->method ('getSystemValue ' )
140+ ->with ('appstoreurl ' , 'https://apps.nextcloud.com/api/v1 ' )
141+ ->willReturn ('https://apps.nextcloud.com/api/v1 ' );
142+ $ this ->config
143+ ->expects ($ this ->at (4 ))
144+ ->method ('getSystemValue ' )
140145 ->with (
141146 $ this ->equalTo ('version ' ),
142147 $ this ->anything ()
@@ -298,6 +303,11 @@ public function testGetWithAlreadyExistingFileAndNoVersion() {
298303 $ this ->config
299304 ->expects ($ this ->at (3 ))
300305 ->method ('getSystemValue ' )
306+ ->with ('appstoreurl ' , 'https://apps.nextcloud.com/api/v1 ' )
307+ ->willReturn ('https://apps.nextcloud.com/api/v1 ' );
308+ $ this ->config
309+ ->expects ($ this ->at (4 ))
310+ ->method ('getSystemValue ' )
301311 ->with (
302312 $ this ->equalTo ('version ' ),
303313 $ this ->anything ()
@@ -382,6 +392,11 @@ public function testGetWithAlreadyExistingFileAndOutdatedVersion() {
382392 $ this ->config
383393 ->expects ($ this ->at (3 ))
384394 ->method ('getSystemValue ' )
395+ ->with ('appstoreurl ' , 'https://apps.nextcloud.com/api/v1 ' )
396+ ->willReturn ('https://apps.nextcloud.com/api/v1 ' );
397+ $ this ->config
398+ ->expects ($ this ->at (4 ))
399+ ->method ('getSystemValue ' )
385400 ->with (
386401 $ this ->equalTo ('version ' ),
387402 $ this ->anything ()
0 commit comments