]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix failed assertions 4825/head
authorJoas Schilling <coding@schilljs.com>
Fri, 12 May 2017 07:58:18 +0000 (09:58 +0200)
committerJoas Schilling <coding@schilljs.com>
Fri, 12 May 2017 07:58:18 +0000 (09:58 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
tests/lib/App/AppStore/Fetcher/FetcherBase.php

index 3d89ae942abdbe559374efe03849c9e0c07a9529..102c119e9ebfbc5551ab09971c062a2ccade8154 100644 (file)
@@ -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')