A free open source IT asset/license management system
Make most test names singular
Marcus Mooreb1e8e5389bcc
diff --git a/tests/Feature/Api/Assets/RequestableAssetsTest.php b/tests/Feature/Api/Assets/RequestableAssetTest.phpsimilarity index 98%rename from tests/Feature/Api/Assets/RequestableAssetsTest.phprename to tests/Feature/Api/Assets/RequestableAssetTest.phpindex d90e45f223..a4f3d805a7 100644--- a/tests/Feature/Api/Assets/RequestableAssetsTest.php+++ b/tests/Feature/Api/Assets/RequestableAssetTest.php@@ -7,7 +7,7 @@ use App\Models\Company;use App\Models\User;use Tests\TestCase;-class RequestableAssetsTest extends TestCase+class RequestableAssetTest extends TestCase{public function testViewingRequestableAssetsRequiresCorrectPermission(){diff --git a/tests/Feature/Api/Consumables/ConsumablesIndexTest.php b/tests/Feature/Api/Consumables/ConsumableIndexTest.phpsimilarity index 97%rename from tests/Feature/Api/Consumables/ConsumablesIndexTest.phprename to tests/Feature/Api/Consumables/ConsumableIndexTest.phpindex 00fa43da27..8fc4b934a7 100644--- a/tests/Feature/Api/Consumables/ConsumablesIndexTest.php+++ b/tests/Feature/Api/Consumables/ConsumableIndexTest.php@@ -7,7 +7,7 @@ use App\Models\Consumable;use App\Models\User;use Tests\TestCase;-class ConsumablesIndexTest extends TestCase+class ConsumableIndexTest extends TestCase{public function testConsumableIndexAdheresToCompanyScoping(){diff --git a/tests/Feature/Api/Licenses/LicensesIndexTest.php b/tests/Feature/Api/Licenses/LicenseIndexTest.phpsimilarity index 98%rename from tests/Feature/Api/Licenses/LicensesIndexTest.phprename to tests/Feature/Api/Licenses/LicenseIndexTest.phpindex 603002a095..c8b081aa46 100644--- a/tests/Feature/Api/Licenses/LicensesIndexTest.php+++ b/tests/Feature/Api/Licenses/LicenseIndexTest.php@@ -7,7 +7,7 @@ use App\Models\License;use App\Models\User;use Tests\TestCase;-class LicensesIndexTest extends TestCase+class LicenseIndexTest extends TestCase{public function testLicensesIndexAdheresToCompanyScoping(){diff --git a/tests/Feature/Api/Users/DeleteUsersTest.php b/tests/Feature/Api/Users/DeleteUserTest.phpsimilarity index 98%rename from tests/Feature/Api/Users/DeleteUsersTest.phprename to tests/Feature/Api/Users/DeleteUserTest.phpindex e926311dca..c5ff0a4ac1 100644--- a/tests/Feature/Api/Users/DeleteUsersTest.php+++ b/tests/Feature/Api/Users/DeleteUserTest.php@@ -9,7 +9,7 @@ use App\Models\User;use App\Models\LicenseSeat;use Tests\TestCase;-class DeleteUsersTest extends TestCase+class DeleteUserTest extends TestCase{diff --git a/tests/Feature/Api/Users/UsersSearchTest.php b/tests/Feature/Api/Users/UserSearchTest.phpsimilarity index 99%rename from tests/Feature/Api/Users/UsersSearchTest.phprename to tests/Feature/Api/Users/UserSearchTest.phpindex 72f23017f5..fe5849d324 100644--- a/tests/Feature/Api/Users/UsersSearchTest.php+++ b/tests/Feature/Api/Users/UserSearchTest.php@@ -7,7 +7,7 @@ use App\Models\User;use Laravel\Passport\Passport;use Tests\TestCase;-class UsersSearchTest extends TestCase+class UserSearchTest extends TestCase{public function testCanSearchByUserFirstAndLastName(){diff --git a/tests/Feature/Users/DeleteUsersTest.php b/tests/Feature/Users/DeleteUserTest.phpsimilarity index 98%rename from tests/Feature/Users/DeleteUsersTest.phprename to tests/Feature/Users/DeleteUserTest.phpindex a9ac1ab1ff..69ac9672a5 100644--- a/tests/Feature/Users/DeleteUsersTest.php+++ b/tests/Feature/Users/DeleteUserTest.php@@ -7,7 +7,7 @@ use App\Models\User;use Laravel\Passport\Passport;use Tests\TestCase;-class DeleteUsersTest extends TestCase+class DeleteUserTest extends TestCase{