Skip to content

A free open source IT asset/license management system

Remove test method

Marcus Moorebad2eead4c44
diff --git a/tests/Feature/Notifications/AssetWebhookTest.php b/tests/Feature/Notifications/AssetWebhookTest.php
index c931b565a0..41b2598618 100644
--- a/tests/Feature/Notifications/AssetWebhookTest.php
+++ b/tests/Feature/Notifications/AssetWebhookTest.php
@@ -11,7 +11,6 @@ use App\Models\User;
use App\Notifications\CheckinAssetNotification;
use App\Notifications\CheckoutAssetNotification;
use Illuminate\Notifications\AnonymousNotifiable;
-use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\Notification;
use Tests\Support\InteractsWithSettings;
use Tests\TestCase;
@@ -29,15 +28,6 @@ class AssetWebhookTest extends TestCase
];
}
- public function testAssetCheckoutFiresCheckoutEvent()
- {
- Event::fake([CheckoutableCheckedOut::class]);
-
- $this->createAsset()->checkOut(User::factory()->create(), User::factory()->create());
-
- Event::assertDispatched(CheckoutableCheckedOut::class);
- }
-
/** @dataProvider checkoutTargets */
public function testAssetCheckoutSendsWebhookNotificationWhenSettingEnabled($checkoutTarget)
{