diff --git a/tests/Command/StripeSyncCommandTest.php b/tests/Command/StripeSyncCommandTest.php index 4803627..d7458cf 100644 --- a/tests/Command/StripeSyncCommandTest.php +++ b/tests/Command/StripeSyncCommandTest.php @@ -385,6 +385,8 @@ class StripeSyncCommandTest extends TestCase $this->stripeService->method('retrievePaymentIntent')->willReturn($paymentIntent); + $this->audit->expects(self::once())->method('log') + ->with('payment_failed_sync', 'BilletBuyer', self::anything(), self::anything()); $this->mailerService->expects(self::never())->method('sendEmail'); $tester = $this->createCommandTester();