A free open source IT asset/license management system
Add more details to failure
Marcus Moore3426a427d802
diff --git a/tests/Feature/Notifications/Email/EmailNotificationsToUserUponCheckoutTest.php b/tests/Feature/Notifications/Email/EmailNotificationsToUserUponCheckoutTest.phpindex 9efe1dc251..817f38fdb5 100644--- a/tests/Feature/Notifications/Email/EmailNotificationsToUserUponCheckoutTest.php+++ b/tests/Feature/Notifications/Email/EmailNotificationsToUserUponCheckoutTest.php@@ -70,7 +70,7 @@ class EmailNotificationsToUserUponCheckoutTest extends TestCase$mailContents = $mail->render();if (! str_contains($mailContents, $url)) {- $this->fail('Email does not contain the acceptance url');+ $this->fail("Email does not contain the acceptance url. Expected to find $url in email contents.");}return $mail->hasTo($this->user->email);