Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/App/AppStore/Fetcher/FetcherBase.php')
-rw-r--r--tests/lib/App/AppStore/Fetcher/FetcherBase.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/lib/App/AppStore/Fetcher/FetcherBase.php b/tests/lib/App/AppStore/Fetcher/FetcherBase.php
index bd19141ea9f..2cfb34a0965 100644
--- a/tests/lib/App/AppStore/Fetcher/FetcherBase.php
+++ b/tests/lib/App/AppStore/Fetcher/FetcherBase.php
@@ -514,6 +514,7 @@ abstract class FetcherBase extends TestCase {
->with(
$this->equalTo($this->endpoint),
$this->equalTo([
+ 'timeout' => 10,
'headers' => [
'If-None-Match' => '"myETag"'
]
@@ -585,6 +586,7 @@ abstract class FetcherBase extends TestCase {
->with(
$this->equalTo($this->endpoint),
$this->equalTo([
+ 'timeout' => 10,
'headers' => [
'If-None-Match' => '"myETag"',
]
@@ -670,7 +672,9 @@ abstract class FetcherBase extends TestCase {
->method('get')
->with(
$this->equalTo($this->endpoint),
- $this->equalTo([])
+ $this->equalTo([
+ 'timeout' => 10,
+ ])
)
->willReturn($response);
$response->method('getStatusCode')