Skip to content

Commit

Permalink
Add default timeout to expected request options
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
  • Loading branch information
kesselb committed Sep 3, 2019
1 parent ca2623e commit fe439ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/lib/Http/Client/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@ private function setUpDefaultRequestOptions(): void {
'verify' => '/my/path.crt',
'proxy' => 'foo',
'headers' => [
'User-Agent' => 'Nextcloud Server Crawler'
]
'User-Agent' => 'Nextcloud Server Crawler',
],
'timeout' => 30,
];
}

Expand Down

0 comments on commit fe439ea

Please sign in to comment.