Remove test method

This commit is contained in:
Marcus Moore 2023-04-18 13:13:57 -07:00
parent 508660b1df
commit bad2eead4c
No known key found for this signature in database

View file

@ -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)
{