Skip to content

A free open source IT asset/license management system

Move existing API checkin and checkout tests under domain directory

Marcus Moore29a36839aafc
diff --git a/tests/Feature/Api/Assets/AssetCheckinTest.php b/tests/Feature/Api/Checkins/AssetCheckinTest.php
similarity index 99%
rename from tests/Feature/Api/Assets/AssetCheckinTest.php
rename to tests/Feature/Api/Checkins/AssetCheckinTest.php
index add90a067d..edd3f80191 100644
--- a/tests/Feature/Api/Assets/AssetCheckinTest.php
+++ b/tests/Feature/Api/Checkins/AssetCheckinTest.php
@@ -1,6 +1,6 @@
<?php
-namespace Tests\Feature\Api\Assets;
+namespace Tests\Feature\Api\Checkins;
use App\Events\CheckoutableCheckedIn;
use App\Models\Asset;
diff --git a/tests/Feature/Api/Accessories/AccessoryCheckoutTest.php b/tests/Feature/Api/Checkouts/AccessoryCheckoutTest.php
similarity index 98%
rename from tests/Feature/Api/Accessories/AccessoryCheckoutTest.php
rename to tests/Feature/Api/Checkouts/AccessoryCheckoutTest.php
index 854a96ada2..bbc187c124 100644
--- a/tests/Feature/Api/Accessories/AccessoryCheckoutTest.php
+++ b/tests/Feature/Api/Checkouts/AccessoryCheckoutTest.php
@@ -1,6 +1,6 @@
<?php
-namespace Tests\Feature\Api\Accessories;
+namespace Tests\Feature\Api\Checkouts;
use App\Models\Accessory;
use App\Models\Actionlog;
diff --git a/tests/Feature/Api/Assets/AssetCheckoutTest.php b/tests/Feature/Api/Checkouts/AssetCheckoutTest.php
similarity index 99%
rename from tests/Feature/Api/Assets/AssetCheckoutTest.php
rename to tests/Feature/Api/Checkouts/AssetCheckoutTest.php
index 82d572ef5d..63c80e5eb0 100644
--- a/tests/Feature/Api/Assets/AssetCheckoutTest.php
+++ b/tests/Feature/Api/Checkouts/AssetCheckoutTest.php
@@ -1,6 +1,6 @@
<?php
-namespace Tests\Feature\Api\Assets;
+namespace Tests\Feature\Api\Checkouts;
use App\Events\CheckoutableCheckedOut;
use App\Models\Asset;
diff --git a/tests/Feature/Api/Consumables/ConsumableCheckoutTest.php b/tests/Feature/Api/Checkouts/ConsumableCheckoutTest.php
similarity index 98%
rename from tests/Feature/Api/Consumables/ConsumableCheckoutTest.php
rename to tests/Feature/Api/Checkouts/ConsumableCheckoutTest.php
index 1528e65aa3..58c1072289 100644
--- a/tests/Feature/Api/Consumables/ConsumableCheckoutTest.php
+++ b/tests/Feature/Api/Checkouts/ConsumableCheckoutTest.php
@@ -1,6 +1,6 @@
<?php
-namespace Tests\Feature\Api\Consumables;
+namespace Tests\Feature\Api\Checkouts;
use App\Models\Actionlog;
use App\Models\Consumable;