Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Feb 1, 2024
1 parent a4466bd commit ddc171f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Gateway/ManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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);
}
Expand Down

0 comments on commit ddc171f

Please sign in to comment.