test email signup flow
This commit is contained in:
parent
a95903ed05
commit
9945163a2f
12 changed files with 631 additions and 0 deletions
|
|
@ -45,6 +45,13 @@ class FakeUserRepository implements UserRepository
|
|||
return null;
|
||||
}
|
||||
|
||||
public function update(User $user): User
|
||||
{
|
||||
$this->users[$user->getId()] = $this->copy($user);
|
||||
|
||||
return $this->copy($user);
|
||||
}
|
||||
|
||||
private function copy(User $user): User
|
||||
{
|
||||
return new User(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue