Skip to content

A free open source IT asset/license management system

Remove test

Marcus Mooredb7110d6b27f
diff --git a/tests/Feature/Checkins/General/CheckinTest.php b/tests/Feature/Checkins/General/CheckinTest.php
deleted file mode 100644
index 1ae2c1a597..0000000000
--- a/tests/Feature/Checkins/General/CheckinTest.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-namespace Tests\Feature\Checkins\General;
-
-use App\Models\Accessory;
-use App\Models\User;
-use Tests\TestCase;
-
-class CheckinTest extends TestCase
-{
- public function test_gracefully_handles_category_being_soft_deleted()
- {
- $this->withoutExceptionHandling();
-
- $accessory = Accessory::factory()->checkedOutToUser()->create();
-
- $accessory->category->delete();
-
- $this->actingAs(User::factory()->checkinAccessories()->create())
- ->post(route('accessories.checkin.store', $accessory->checkouts->first()->id));
-
- $this->assertEquals(0, $accessory->fresh()->checkouts->count());
- }
-}