Skip to content

Commit

Permalink
Fix changed response field
Browse files Browse the repository at this point in the history
  • Loading branch information
mpysiak committed Oct 24, 2024
1 parent 4bb9dd9 commit a1e812d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sylius/Behat/Context/Api/Shop/RegistrationContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public function iShouldBeNotifiedThatFieldHaveToBeProvided(string ...$fields): v
$content = $this->getResponseContent();

Assert::same(
$content['message'],
$content['description'],
'Request does not have the following required fields specified: ' . implode(', ', $fields) . '.',
);
Assert::same($this->shopClient->getLastResponse()->getStatusCode(), 400);
Expand Down

0 comments on commit a1e812d

Please sign in to comment.