summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-05-12 09:58:18 +0200
committerJoas Schilling <coding@schilljs.com>2017-05-12 09:58:18 +0200
commitadad4281afb7cbff180770abec27fa73efa05e51 (patch)
tree05cd669887cb773acd2bc3382e80e776ba23a210
parent72943c99a4942bceaef750db6ea4eb7d582585d5 (diff)
downloadnextcloud-server-adad4281afb7cbff180770abec27fa73efa05e51.tar.gz
nextcloud-server-adad4281afb7cbff180770abec27fa73efa05e51.zip
Fix failed assertions
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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')