From b9fcd3bd33d02ca9a3bd9a3ebbda3e6336a29ec3 Mon Sep 17 00:00:00 2001 From: Sanpi Date: Sun, 11 Mar 2018 11:22:39 +0100 Subject: [PATCH] Add colon to "Then the response should be equal to" step --- i18n/en.xliff.dist | 2 +- i18n/ja.xliff | 2 +- i18n/ru.xliff | 2 +- src/Context/RestContext.php | 1 + tests/features/rest.feature | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/i18n/en.xliff.dist b/i18n/en.xliff.dist index e6ab1ce0..6f595ee8 100644 --- a/i18n/en.xliff.dist +++ b/i18n/en.xliff.dist @@ -298,7 +298,7 @@ - the response should be equal to + the response should be equal to: diff --git a/i18n/ja.xliff b/i18n/ja.xliff index 0b7707a6..ad308c73 100644 --- a/i18n/ja.xliff +++ b/i18n/ja.xliff @@ -213,7 +213,7 @@ - + diff --git a/i18n/ru.xliff b/i18n/ru.xliff index ef63e9f5..8760c03f 100644 --- a/i18n/ru.xliff +++ b/i18n/ru.xliff @@ -298,7 +298,7 @@ я отправляю :method запрос на :url с телом: - the response should be equal to + the response should be equal to: ответ должен быть diff --git a/src/Context/RestContext.php b/src/Context/RestContext.php index 1487b69b..a3173a7a 100644 --- a/src/Context/RestContext.php +++ b/src/Context/RestContext.php @@ -82,6 +82,7 @@ public function iSendARequestToWithBody($method, $url, PyStringNode $body) * Checks, whether the response content is equal to given text * * @Then the response should be equal to + * @Then the response should be equal to: */ public function theResponseShouldBeEqualTo(PyStringNode $expected) { diff --git a/tests/features/rest.feature b/tests/features/rest.feature index 35be5961..d113be26 100644 --- a/tests/features/rest.feature +++ b/tests/features/rest.feature @@ -83,7 +83,7 @@ Feature: Testing RESTContext Scenario: Response body Given I send a GET request to "/" - Then the response should be equal to + Then the response should be equal to: """ Congratulations, you've correctly set up your apache environment. """