Skip to content

Commit

Permalink
Add assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusmoore committed Jan 30, 2025
1 parent 7e9c564 commit 7cbb3f7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public function testMustHavePermissionToSendReminder()
$this->actingAs($userWithoutPermission)
->post($this->routeFor($checkoutAcceptance))
->assertForbidden();

Mail::assertNotSent(CheckoutAssetMail::class);
}

public function testReminderNotSentIfAcceptanceDoesNotExist()
Expand Down

0 comments on commit 7cbb3f7

Please sign in to comment.