mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Remove test method
This commit is contained in:
parent
508660b1df
commit
bad2eead4c
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue