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(
|
->with(
|
||||||
$this->equalTo($this->endpoint),
|
$this->equalTo($this->endpoint),
|
||||||
$this->equalTo([
|
$this->equalTo([
|
||||||
|
'timeout' => 10,
|
||||||
'headers' => [
|
'headers' => [
|
||||||
'If-None-Match' => '"myETag"'
|
'If-None-Match' => '"myETag"'
|
||||||
]
|
]
|
||||||
|
@ -581,6 +582,7 @@ abstract class FetcherBase extends TestCase {
|
||||||
->with(
|
->with(
|
||||||
$this->equalTo($this->endpoint),
|
$this->equalTo($this->endpoint),
|
||||||
$this->equalTo([
|
$this->equalTo([
|
||||||
|
'timeout' => 10,
|
||||||
'headers' => [
|
'headers' => [
|
||||||
'If-None-Match' => '"myETag"',
|
'If-None-Match' => '"myETag"',
|
||||||
]
|
]
|
||||||
|
@ -666,7 +668,9 @@ abstract class FetcherBase extends TestCase {
|
||||||
->method('get')
|
->method('get')
|
||||||
->with(
|
->with(
|
||||||
$this->equalTo($this->endpoint),
|
$this->equalTo($this->endpoint),
|
||||||
$this->equalTo([])
|
$this->equalTo([
|
||||||
|
'timeout' => 10,
|
||||||
|
])
|
||||||
)
|
)
|
||||||
->willReturn($response);
|
->willReturn($response);
|
||||||
$response->method('getStatusCode')
|
$response->method('getStatusCode')
|
||||||
|
|
Loading…
Reference in New Issue