Don't tell prophecy to return true twice

This commit is contained in:
Dave Smith-Hayes 2024-11-18 03:00:08 +00:00
parent 0825c098e5
commit 2269254e26

View File

@ -18,7 +18,7 @@ class UserRepositoryTest extends TestCase
$databaseHandler
->execute(Argument::type('string'), Argument::type('array'))
->willReturn(true, true);
->willReturn(true);
$databaseHandler
->getConnection()