From bad2eead4c441aaad60f9078bb85aa7cbb4f5893 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Tue, 18 Apr 2023 13:13:57 -0700 Subject: [PATCH] Remove test method --- tests/Feature/Notifications/AssetWebhookTest.php | 10 ---------- 1 file changed, 10 deletions(-) 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) {