PHP Class Sylius\Behat\Context\Ui\UserContext

Author: Magdalena Banasiak ([email protected])
Author: Mateusz Zalewski ([email protected])
Inheritance: implements Behat\Behat\Context\Context
Show file Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\User\Repository\UserRepositoryInterface $userRepository, Sylius\Behat\Page\Admin\Customer\ShowPageInterface $customerShowPage, Sylius\Behat\Page\Shop\HomePageInterface $homePage )
accountShouldBeDeleted ( )
iDeleteAccount ( $email )
iLogOut ( )
iShouldNotBeAbleToDeleteMyOwnAccount ( )
iTryDeletingMyOwnAccount ( )

Method Details

__construct() public method

public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Component\User\Repository\UserRepositoryInterface $userRepository, Sylius\Behat\Page\Admin\Customer\ShowPageInterface $customerShowPage, Sylius\Behat\Page\Shop\HomePageInterface $homePage )
$sharedStorage Sylius\Behat\Service\SharedStorageInterface
$userRepository Sylius\Component\User\Repository\UserRepositoryInterface
$customerShowPage Sylius\Behat\Page\Admin\Customer\ShowPageInterface
$homePage Sylius\Behat\Page\Shop\HomePageInterface

accountShouldBeDeleted() public method

iDeleteAccount() public method

public iDeleteAccount ( $email )

iLogOut() public method

public iLogOut ( )

iShouldNotBeAbleToDeleteMyOwnAccount() public method

iTryDeletingMyOwnAccount() public method