mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-15 01:20:59 +00:00
Make the sentence applies to both UI and API
This commit is contained in:
parent
7159d33293
commit
8763404483
2 changed files with 3 additions and 3 deletions
|
|
@ -52,7 +52,7 @@ Feature: Resetting a password
|
|||
@ui @email @api
|
||||
Scenario: Trying to change my account password with an expired token I received
|
||||
Given I have already received a resetting password email
|
||||
But I waited too long, and the link expired
|
||||
But I waited too long, and the token expired
|
||||
When I follow link on my email to reset my password
|
||||
And I specify my new password as "newp@ssw0rd"
|
||||
And I confirm my new password as "newp@ssw0rd"
|
||||
|
|
|
|||
|
|
@ -157,9 +157,9 @@ final class UserContext implements Context
|
|||
}
|
||||
|
||||
/**
|
||||
* @Given /^(I) waited too long, and the link expired$/
|
||||
* @Given /^(I) waited too long, and the token expired$/
|
||||
*/
|
||||
public function iWaitedTooMuchTimeToResetMyPassword(UserInterface $user): void
|
||||
public function iWaitedTooLongAndTheTokenExpired(UserInterface $user): void
|
||||
{
|
||||
/** @var \DateTime $passwordRequestedAt */
|
||||
$passwordRequestedAt = $user->getPasswordRequestedAt();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue