summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 3d89ae942ab..102c119e9eb 100644
--- a/tests/lib/App/AppStore/Fetcher/FetcherBase.php
+++ b/tests/lib/App/AppStore/Fetcher/FetcherBase.php
@@ -510,6 +510,7 @@ abstract class FetcherBase extends TestCase {
->with(
$this->equalTo($this->endpoint),
$this->equalTo([
+ 'timeout' => 10,
'headers' => [
'If-None-Match' => '"myETag"'
]
@@ -581,6 +582,7 @@ abstract class FetcherBase extends TestCase {
->with(
$this->equalTo($this->endpoint),
$this->equalTo([
+ 'timeout' => 10,
'headers' => [
'If-None-Match' => '"myETag"',
]
@@ -666,7 +668,9 @@ abstract class FetcherBase extends TestCase {
->method('get')
->with(
$this->equalTo($this->endpoint),
- $this->equalTo([])
+ $this->equalTo([
+ 'timeout' => 10,
+ ])
)
->willReturn($response);
$response->method('getStatusCode')