Skip to content

A free open source IT asset/license management system

Improve test

Marcus Moore54f065f42c5e
diff --git a/tests/Feature/Notifications/Email/BulkCheckoutEmailTest.php b/tests/Feature/Notifications/Email/BulkCheckoutEmailTest.php
index 8331564000..b3122d16c4 100644
--- a/tests/Feature/Notifications/Email/BulkCheckoutEmailTest.php
+++ b/tests/Feature/Notifications/Email/BulkCheckoutEmailTest.php
@@ -96,7 +96,7 @@ class BulkCheckoutEmailTest extends TestCase
public function test_email_is_not_sent_to_user_if_assets_do_not_require_acceptance()
{
- $this->assets = Asset::factory()->count(2)->create();
+ $this->assets = Asset::factory()->doesNotRequireAcceptance()->count(2)->create();
$this->sendRequest();