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); }