mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Behat scenarios :
- web user context
This commit is contained in:
parent
bc8e2bb333
commit
219aa448d2
1 changed files with 2 additions and 2 deletions
|
|
@ -194,7 +194,7 @@ class WebUser extends MinkContext implements KernelAwareInterface
|
|||
*/
|
||||
public function iShouldBeOnMyAccountOrdersPage()
|
||||
{
|
||||
$this->assertSession()->addressEquals($this->generateUrl('sylius_account_orders'));
|
||||
$this->assertSession()->addressEquals($this->generateUrl('sylius_account_order_index'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -202,7 +202,7 @@ class WebUser extends MinkContext implements KernelAwareInterface
|
|||
*/
|
||||
public function iAmOnMyAccountOrdersPage()
|
||||
{
|
||||
$this->assertSession()->addressEquals($this->generateUrl('sylius_account_orders'));
|
||||
$this->getSession()->visit($this->generateUrl('sylius_account_order_index'));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue