Skip to content

Commit b9fcd3b

Browse files
committed
Add colon to "Then the response should be equal to" step
1 parent 3e683cd commit b9fcd3b

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

i18n/en.xliff.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
<target></target>
299299
</trans-unit>
300300
<trans-unit id="the-response-should-be-equal-to">
301-
<source>the response should be equal to</source>
301+
<source>the response should be equal to:</source>
302302
<target></target>
303303
</trans-unit>
304304
<trans-unit id="the-response-should-be-empty">

i18n/ja.xliff

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
<target><![CDATA[/^レスポンスが空であること$/u]]></target>
214214
</trans-unit>
215215
<trans-unit id="the-response-should-be-equal-to">
216-
<source><![CDATA[the response should be equal to]]></source>
216+
<source><![CDATA[the response should be equal to:]]></source>
217217
<target><![CDATA[/^レスポンスが下記と一致すること:$/u]]></target>
218218
</trans-unit>
219219
<trans-unit id="the-header-should-be-equal-to">

i18n/ru.xliff

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
<target>я отправляю :method запрос на :url с телом:</target>
299299
</trans-unit>
300300
<trans-unit id="the-response-should-be-equal-to">
301-
<source>the response should be equal to</source>
301+
<source>the response should be equal to:</source>
302302
<target>ответ должен быть</target>
303303
</trans-unit>
304304
<trans-unit id="the-response-should-be-empty">

src/Context/RestContext.php

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public function iSendARequestToWithBody($method, $url, PyStringNode $body)
8282
* Checks, whether the response content is equal to given text
8383
*
8484
* @Then the response should be equal to
85+
* @Then the response should be equal to:
8586
*/
8687
public function theResponseShouldBeEqualTo(PyStringNode $expected)
8788
{

tests/features/rest.feature

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Feature: Testing RESTContext
8383

8484
Scenario: Response body
8585
Given I send a GET request to "/"
86-
Then the response should be equal to
86+
Then the response should be equal to:
8787
"""
8888
Congratulations, you've correctly set up your apache environment.
8989
"""

0 commit comments

Comments
 (0)