diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-08-18 15:08:01 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-08-18 15:08:01 +0300 |
commit | f528e70df822e0b0ca8bd0445dd66a6d4efd7054 (patch) | |
tree | 213a915a5cb8256fd5a4a3c6dc6813bf0adb2b6e /tests | |
parent | 940bcd30a31771461e6fd14318f3cbb8f79ff362 (diff) |
Accept text/html
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/features/bootstrap/FeatureContext.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php index 432803e9..2fe44f4b 100644 --- a/tests/integration/features/bootstrap/FeatureContext.php +++ b/tests/integration/features/bootstrap/FeatureContext.php @@ -98,7 +98,15 @@ class FeatureContext implements Context { * @When I send a GET request to :url */ public function iSendAGetRequestTo($url) { - $this->response = $this->client->request('GET', $url); + $this->response = $this->client->request( + 'GET', + $url, + [ + 'headers' => [ + 'Accept' => 'text/html', + ], + ] + ); } /** |