From 523956d884f572bfbba5693df2646a86c16f375a Mon Sep 17 00:00:00 2001 From: Chihiro Adachi <8196725+chihiro-adachi@users.noreply.github.com> Date: Thu, 14 Dec 2023 14:05:50 +0900 Subject: [PATCH] Fix "Fatal error: Class Eccube\Tests\Repository\DummyCustomer contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Symfony\Component\Security\Core\User\UserInterface::getUserIdentifier)" --- tests/Eccube/Tests/Repository/CustomerRepositoryTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/Eccube/Tests/Repository/CustomerRepositoryTest.php b/tests/Eccube/Tests/Repository/CustomerRepositoryTest.php index 38ad3033b47..264f3f62e95 100644 --- a/tests/Eccube/Tests/Repository/CustomerRepositoryTest.php +++ b/tests/Eccube/Tests/Repository/CustomerRepositoryTest.php @@ -164,4 +164,10 @@ public function eraseCredentials() { return; } + + public function getUserIdentifier(): string + { + // FIXME deprecated + return $this->getUsername(); + } }