From ddc171f8784f21bbf0a3f3097c0f94b88c0c0096 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=2E=20Nagy=20Gerg=C5=91?= Date: Thu, 1 Feb 2024 13:00:45 +0100 Subject: [PATCH] fix --- tests/Gateway/ManagerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Gateway/ManagerTest.php b/tests/Gateway/ManagerTest.php index 890b1d75..9833355c 100644 --- a/tests/Gateway/ManagerTest.php +++ b/tests/Gateway/ManagerTest.php @@ -148,7 +148,7 @@ public function test_gateway_can_process_checkout(): void { Event::fake([CheckoutProcessed::class]); - $this->manager->driver('cash')->handleCheckout($this->app['request']); + $this->manager->driver('cash')->handleCheckout($this->app['request'], $this->order); Event::assertDispatched(CheckoutProcessed::class); } @@ -157,7 +157,7 @@ public function test_gateway_handles_failed_checkout(): void { Event::fake([CheckoutFailed::class]); - $this->manager->driver('failing-driver')->handleCheckout($this->app['request']); + $this->manager->driver('failing-driver')->handleCheckout($this->app['request'], $this->order); Event::assertDispatched(CheckoutFailed::class); }