mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[ApiBundle] Add notified password step to ManagingCustomersContext
This commit is contained in:
parent
a84513bb19
commit
d53ed1413e
1 changed files with 11 additions and 0 deletions
|
|
@ -422,6 +422,17 @@ final class ManagingCustomersContext implements Context
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @Then /^I should be notified that the password must be at least (\d+) characters long$/
|
||||
*/
|
||||
public function iShouldBeNotifiedThatThePasswordMustBeAtLeastCharactersLong(string $amountOfCharacters): void
|
||||
{
|
||||
Assert::contains(
|
||||
$this->responseChecker->getError($this->client->getLastResponse()),
|
||||
sprintf('Password must be at least %d characters long.', $amountOfCharacters),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @Then I should not see the order with number :orderNumber in the list
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue