A free open source IT asset/license management system
Add assertion
Marcus Moore7cbb3f7e07f7
diff --git a/tests/Feature/Notifications/Email/AssetAcceptanceReminderTest.php b/tests/Feature/Notifications/Email/AssetAcceptanceReminderTest.phpindex db3de3c54c..85915352b7 100644--- a/tests/Feature/Notifications/Email/AssetAcceptanceReminderTest.php+++ b/tests/Feature/Notifications/Email/AssetAcceptanceReminderTest.php@@ -26,6 +26,8 @@ class AssetAcceptanceReminderTest extends TestCase$this->actingAs($userWithoutPermission)->post($this->routeFor($checkoutAcceptance))->assertForbidden();++ Mail::assertNotSent(CheckoutAssetMail::class);}public function testReminderNotSentIfAcceptanceDoesNotExist()