コード例 #1
0
ファイル: SecurityContext.php プロジェクト: Spomky/Sylius
 /**
  * @Given I am logged in as :email
  */
 public function iAmLoggedInAs($email)
 {
     $this->securityService->logIn($email, 'main', $this->getSession());
 }
コード例 #2
0
ファイル: SecurityContext.php プロジェクト: stevedien/Sylius
 /**
  * @Given I am logged in as :email
  */
 public function iAmLoggedInAs($email)
 {
     $this->prepareSessionIfNeeded();
     $this->securityService->logIn($email, 'main', $this->mink->getSession());
 }