Fix failed assertions

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/4825/head
Joas Schilling 9 years ago
parent 72943c99a4
commit adad4281af
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
  1. 6
      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')

Loading…
Cancel
Save