Skip to content

Commit

Permalink
Fix "Fatal error: Class Eccube\Tests\Repository\DummyCustomer contain…
Browse files Browse the repository at this point in the history
…s 1 abstract method and must therefore be declared abstract or implement the remaining methods (Symfony\Component\Security\Core\User\UserInterface::getUserIdentifier)"
  • Loading branch information
chihiro-adachi committed Dec 14, 2023
1 parent 25e0572 commit 523956d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/Eccube/Tests/Repository/CustomerRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,10 @@ public function eraseCredentials()
{
return;
}

public function getUserIdentifier(): string
{
// FIXME deprecated
return $this->getUsername();
}
}

0 comments on commit 523956d

Please sign in to comment.