From 2269254e261c2dee2449b91d06110de754ff105b Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Mon, 18 Nov 2024 03:00:08 +0000 Subject: [PATCH] Don't tell prophecy to return true twice --- app/tests/Domain/Repository/UserRepositoryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tests/Domain/Repository/UserRepositoryTest.php b/app/tests/Domain/Repository/UserRepositoryTest.php index ee27165..381d5e2 100644 --- a/app/tests/Domain/Repository/UserRepositoryTest.php +++ b/app/tests/Domain/Repository/UserRepositoryTest.php @@ -18,7 +18,7 @@ class UserRepositoryTest extends TestCase $databaseHandler ->execute(Argument::type('string'), Argument::type('array')) - ->willReturn(true, true); + ->willReturn(true); $databaseHandler ->getConnection()