Fix changed response field

This commit is contained in:
Michał Pysiak 2024-10-24 16:55:51 +02:00
parent 137d4d3c79
commit 33ca5784a0
No known key found for this signature in database
GPG key ID: 9C1F2D0F99830187

View file

@ -200,7 +200,7 @@ final class RegistrationContext implements Context
$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);