Fix failed assertions
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
72943c99a4
commit
adad4281af
|
@ -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…
Reference in New Issue