Skip to content

A free open source IT asset/license management system

Update tests names to VerbNounTest

Marcus Moore95f6381da436
diff --git a/tests/Feature/Api/Assets/AssetStoreTest.php b/tests/Feature/Api/Assets/StoreAssetTest.php
similarity index 99%
rename from tests/Feature/Api/Assets/AssetStoreTest.php
rename to tests/Feature/Api/Assets/StoreAssetTest.php
index 006a5738f7..617c7625b9 100644
--- a/tests/Feature/Api/Assets/AssetStoreTest.php
+++ b/tests/Feature/Api/Assets/StoreAssetTest.php
@@ -16,7 +16,7 @@ use Illuminate\Testing\Fluent\AssertableJson;
use Illuminate\Testing\TestResponse;
use Tests\TestCase;
-class AssetStoreTest extends TestCase
+class StoreAssetTest extends TestCase
{
public function testRequiresPermissionToCreateAsset()
{
diff --git a/tests/Feature/Api/Assets/AssetUpdateTest.php b/tests/Feature/Api/Assets/UpdateAssetTest.php
similarity index 98%
rename from tests/Feature/Api/Assets/AssetUpdateTest.php
rename to tests/Feature/Api/Assets/UpdateAssetTest.php
index ed830c379c..1889a70a79 100644
--- a/tests/Feature/Api/Assets/AssetUpdateTest.php
+++ b/tests/Feature/Api/Assets/UpdateAssetTest.php
@@ -8,7 +8,7 @@ use App\Models\User;
use Illuminate\Support\Facades\Crypt;
use Tests\TestCase;
-class AssetUpdateTest extends TestCase
+class UpdateAssetTest extends TestCase
{
public function testEncryptedCustomFieldCanBeUpdated()
{
diff --git a/tests/Feature/Api/Groups/GroupStoreTest.php b/tests/Feature/Api/Groups/StoreGroupTest.php
similarity index 98%
rename from tests/Feature/Api/Groups/GroupStoreTest.php
rename to tests/Feature/Api/Groups/StoreGroupTest.php
index afa7a747d8..e0c5118b64 100644
--- a/tests/Feature/Api/Groups/GroupStoreTest.php
+++ b/tests/Feature/Api/Groups/StoreGroupTest.php
@@ -7,7 +7,7 @@ use App\Models\Group;
use App\Models\User;
use Tests\TestCase;
-class GroupStoreTest extends TestCase
+class StoreGroupTest extends TestCase
{
public function testStoringGroupRequiresSuperAdminPermission()
{
diff --git a/tests/Feature/Assets/AssetsBulkEditTest.php b/tests/Feature/Assets/BulkEditAssetsTest.php
similarity index 99%
rename from tests/Feature/Assets/AssetsBulkEditTest.php
rename to tests/Feature/Assets/BulkEditAssetsTest.php
index 70918b3595..94458aafb6 100644
--- a/tests/Feature/Assets/AssetsBulkEditTest.php
+++ b/tests/Feature/Assets/BulkEditAssetsTest.php
@@ -12,7 +12,7 @@ use App\Models\User;
use Illuminate\Support\Facades\Crypt;
use Tests\TestCase;
-class AssetsBulkEditTest extends TestCase
+class BulkEditAssetsTest extends TestCase
{
public function testUserWithPermissionsCanAccessPage()
{