Skip to content

A free open source IT asset/license management system

fix unaccepted reminder test

Godfrey M8352e81228bc
diff --git a/tests/Feature/Console/SendAcceptanceReminderTest.php b/tests/Feature/Console/SendAcceptanceReminderTest.php
index 9743a9db49..7c49f81cb4 100644
--- a/tests/Feature/Console/SendAcceptanceReminderTest.php
+++ b/tests/Feature/Console/SendAcceptanceReminderTest.php
@@ -45,7 +45,7 @@ class SendAcceptanceReminderTest extends TestCase
]);
$this->artisan('snipeit:acceptance-reminder')
- ->expectsOutput($userA->present()->fullName().' has no email address.')
+ ->expectsOutput("The following users do not have an email address:\nID: {$userA->id}, Name: {$userA->present()->fullName()}\n")
->assertExitCode(0);
Mail::assertNotSent(UnacceptedAssetReminderMail::class);