Skip to content

A free open source IT asset/license management system

Scaffold tests

Marcus Mooree954e066b450
diff --git a/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php b/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php
index 9579f4c2e3..9a40712fb5 100644
--- a/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php
+++ b/tests/Feature/Notifications/Email/EmailNotificationsUponCheckinTest.php
@@ -11,8 +11,6 @@ use PHPUnit\Framework\Attributes\Group;
use App\Events\CheckoutableCheckedIn;
use App\Models\Asset;
use App\Models\User;
-use App\Notifications\CheckinAssetNotification;
-use Illuminate\Support\Facades\Notification;
use Tests\TestCase;
#[Group('notifications')]
@@ -93,6 +91,11 @@ class EmailNotificationsUponCheckinTest extends TestCase
});
}
+ public function testAdminCCEmailStillSentWhenCategoryEmailIsNotSetToSendEmailToUser()
+ {
+ $this->markTestIncomplete();
+ }
+
private function fireCheckInEvent($asset, $user): void
{
event(new CheckoutableCheckedIn(
diff --git a/tests/Feature/Notifications/Email/EmailNotificationsUponCheckoutTest.php b/tests/Feature/Notifications/Email/EmailNotificationsUponCheckoutTest.php
new file mode 100644
index 0000000000..c714a26aec
--- /dev/null
+++ b/tests/Feature/Notifications/Email/EmailNotificationsUponCheckoutTest.php
@@ -0,0 +1,15 @@
+<?php
+
+namespace Tests\Feature\Notifications\Email;
+
+use PHPUnit\Framework\Attributes\Group;
+use Tests\TestCase;
+
+#[Group('notifications')]
+class EmailNotificationsUponCheckoutTest extends TestCase
+{
+ public function testAdminCCEmailStillSentWhenCategoryEmailIsNotSetToSendEmailToUser()
+ {
+ $this->markTestIncomplete();
+ }
+}