From adad4281afb7cbff180770abec27fa73efa05e51 Mon Sep 17 00:00:00 2001
From: Joas Schilling <coding@schilljs.com>
Date: Fri, 12 May 2017 09:58:18 +0200
Subject: [PATCH] Fix failed assertions

Signed-off-by: Joas Schilling <coding@schilljs.com>
---
 tests/lib/App/AppStore/Fetcher/FetcherBase.php | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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')
-- 
GitLab