Esempio n. 1
0
 /**
  * @Given the account of :email was deleted
  */
 public function accountWasDeleted($email)
 {
     $user = $this->userRepository->findOneByEmail($email);
     $this->sharedStorage->set('customer', $user->getCustomer());
     $this->userRepository->remove($user);
 }