Revert "Define test classes as final"

This reverts commit 95516b0343.
This commit is contained in:
Marcus Moore 2024-08-06 13:31:17 -07:00
parent 82e795b642
commit 3e832e5e94
No known key found for this signature in database
106 changed files with 106 additions and 106 deletions

View file

@ -8,7 +8,7 @@ use App\Models\User;
use Illuminate\Testing\Fluent\AssertableJson;
use Tests\TestCase;
final class CreateAssetModelsTest extends TestCase
class CreateAssetModelsTest extends TestCase
{

View file

@ -8,7 +8,7 @@ use App\Models\User;
use Illuminate\Testing\Fluent\AssertableJson;
use Tests\TestCase;
final class IndexAssetModelsTest extends TestCase
class IndexAssetModelsTest extends TestCase
{
public function testViewingAssetModelIndexRequiresAuthentication()
{

View file

@ -7,7 +7,7 @@ use App\Models\Category;
use App\Models\User;
use Tests\TestCase;
final class UpdateAssetModelsTest extends TestCase
class UpdateAssetModelsTest extends TestCase
{
public function testRequiresPermissionToEditAssetModel()

View file

@ -7,7 +7,7 @@ use App\Models\Category;
use App\Models\User;
use Tests\TestCase;
final class CreateAssetModelsTest extends TestCase
class CreateAssetModelsTest extends TestCase
{
public function testPermissionRequiredToCreateAssetModel()
{

View file

@ -5,7 +5,7 @@ namespace Tests\Feature\AssetModels\Ui;
use App\Models\User;
use Tests\TestCase;
final class IndexAssetModelsTest extends TestCase
class IndexAssetModelsTest extends TestCase
{
public function testPermissionRequiredToViewAssetModelList()
{

View file

@ -7,7 +7,7 @@ use App\Models\Category;
use App\Models\User;
use Tests\TestCase;
final class UpdateAssetModelsTest extends TestCase
class UpdateAssetModelsTest extends TestCase
{
public function testPermissionRequiredToStoreAssetModel()
{

View file

@ -7,7 +7,7 @@ use App\Models\User;
use Illuminate\Http\UploadedFile;
use Tests\TestCase;
final class AssetFilesTest extends TestCase
class AssetFilesTest extends TestCase
{
public function testAssetApiAcceptsFileUpload()
{

View file

@ -9,7 +9,7 @@ use Carbon\Carbon;
use Illuminate\Testing\Fluent\AssertableJson;
use Tests\TestCase;
final class AssetIndexTest extends TestCase
class AssetIndexTest extends TestCase
{
public function testAssetApiIndexReturnsExpectedAssets()
{

View file

@ -7,7 +7,7 @@ use App\Models\Company;
use App\Models\User;
use Tests\TestCase;
final class AssetsForSelectListTest extends TestCase
class AssetsForSelectListTest extends TestCase
{
public function testAssetsCanBeSearchedForByAssetTag()
{

View file

@ -7,7 +7,7 @@ use App\Models\Company;
use App\Models\User;
use Tests\TestCase;
final class RequestableAssetTest extends TestCase
class RequestableAssetTest extends TestCase
{
public function testViewingRequestableAssetsRequiresCorrectPermission()
{

View file

@ -14,7 +14,7 @@ use Illuminate\Support\Facades\Crypt;
use Illuminate\Testing\Fluent\AssertableJson;
use Tests\TestCase;
final class StoreAssetTest extends TestCase
class StoreAssetTest extends TestCase
{
public function testRequiresPermissionToCreateAsset()
{

View file

@ -13,7 +13,7 @@ use App\Models\CustomField;
use Illuminate\Support\Facades\Crypt;
use Tests\TestCase;
final class UpdateAssetTest extends TestCase
class UpdateAssetTest extends TestCase
{
public function testThatANonExistentAssetIdReturnsError()
{

View file

@ -8,7 +8,7 @@ use App\Models\Asset;
use App\Models\User;
use Tests\TestCase;
final class BulkDeleteAssetsTest extends TestCase
class BulkDeleteAssetsTest extends TestCase
{
public function testUserWithPermissionsCanAccessPage()
{

View file

@ -12,7 +12,7 @@ use App\Models\User;
use Illuminate\Support\Facades\Crypt;
use Tests\TestCase;
final class BulkEditAssetsTest extends TestCase
class BulkEditAssetsTest extends TestCase
{
public function testUserWithPermissionsCanAccessPage()
{

View file

@ -6,7 +6,7 @@ use App\Models\Asset;
use App\Models\User;
use Tests\TestCase;
final class CloneAssetTest extends TestCase
class CloneAssetTest extends TestCase
{
public function testPermissionRequiredToCreateAssetModel()
{

View file

@ -8,7 +8,7 @@ use App\Models\StatusLabel;
use App\Models\User;
use Tests\TestCase;
final class EditAssetTest extends TestCase
class EditAssetTest extends TestCase
{
public function testPermissionRequiredToViewLicense()

View file

@ -9,7 +9,7 @@ use App\Models\User;
use Illuminate\Testing\Fluent\AssertableJson;
use Tests\TestCase;
final class CreateCategoriesTest extends TestCase
class CreateCategoriesTest extends TestCase
{

View file

@ -7,7 +7,7 @@ use App\Models\User;
use Illuminate\Testing\Fluent\AssertableJson;
use Tests\TestCase;
final class IndexCategoriesTest extends TestCase
class IndexCategoriesTest extends TestCase
{
public function testViewingCategoryIndexRequiresPermission()

View file

@ -6,7 +6,7 @@ use App\Models\Category;
use App\Models\User;
use Tests\TestCase;
final class UpdateCategoriesTest extends TestCase
class UpdateCategoriesTest extends TestCase
{
public function testCanUpdateCategoryViaPatchWithoutCategoryType()

View file

@ -7,7 +7,7 @@ use App\Models\Category;
use App\Models\User;
use Tests\TestCase;
final class CreateCategoriesTest extends TestCase
class CreateCategoriesTest extends TestCase
{
public function testPermissionRequiredToCreateCategories()
{

View file

@ -5,7 +5,7 @@ namespace Tests\Feature\Categories\Ui;
use App\Models\User;
use Tests\TestCase;
final class IndexCategoriesTest extends TestCase
class IndexCategoriesTest extends TestCase
{
public function testPermissionRequiredToViewCategoryList()
{

View file

@ -7,7 +7,7 @@ use App\Models\Asset;
use App\Models\User;
use Tests\TestCase;
final class UpdateCategoriesTest extends TestCase
class UpdateCategoriesTest extends TestCase
{
public function testPermissionRequiredToStoreCategory()
{

View file

@ -13,7 +13,7 @@ use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Event;
use Tests\TestCase;
final class AssetCheckinTest extends TestCase
class AssetCheckinTest extends TestCase
{
public function testCheckingInAssetRequiresCorrectPermission()
{

View file

@ -10,7 +10,7 @@ use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\Notification;
use Tests\TestCase;
final class AccessoryCheckinTest extends TestCase
class AccessoryCheckinTest extends TestCase
{
public function testCheckingInAccessoryRequiresCorrectPermission()
{

View file

@ -13,7 +13,7 @@ use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Event;
use Tests\TestCase;
final class AssetCheckinTest extends TestCase
class AssetCheckinTest extends TestCase
{
public function testCheckingInAssetRequiresCorrectPermission()
{

View file

@ -6,7 +6,7 @@ use App\Models\Component;
use App\Models\User;
use Tests\TestCase;
final class ComponentCheckinTest extends TestCase
class ComponentCheckinTest extends TestCase
{
public function testCheckingInComponentRequiresCorrectPermission()
{

View file

@ -6,7 +6,7 @@ use App\Models\LicenseSeat;
use App\Models\User;
use Tests\TestCase;
final class LicenseCheckinTest extends TestCase
class LicenseCheckinTest extends TestCase
{
public function testCheckingInLicenseRequiresCorrectPermission()
{

View file

@ -11,7 +11,7 @@ use App\Notifications\AcceptanceAssetDeclinedNotification;
use Illuminate\Support\Facades\Notification;
use Tests\TestCase;
final class AccessoryAcceptanceTest extends TestCase
class AccessoryAcceptanceTest extends TestCase
{
/**
* This can be absorbed into a bigger test

View file

@ -9,7 +9,7 @@ use App\Notifications\CheckoutAccessoryNotification;
use Illuminate\Support\Facades\Notification;
use Tests\TestCase;
final class AccessoryCheckoutTest extends TestCase
class AccessoryCheckoutTest extends TestCase
{
public function testCheckingOutAccessoryRequiresCorrectPermission()
{

View file

@ -12,7 +12,7 @@ use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Event;
use Tests\TestCase;
final class AssetCheckoutTest extends TestCase
class AssetCheckoutTest extends TestCase
{
protected function setUp(): void
{

View file

@ -9,7 +9,7 @@ use App\Notifications\CheckoutConsumableNotification;
use Illuminate\Support\Facades\Notification;
use Tests\TestCase;
final class ConsumableCheckoutTest extends TestCase
class ConsumableCheckoutTest extends TestCase
{
public function testCheckingOutConsumableRequiresCorrectPermission()
{

View file

@ -11,7 +11,7 @@ use App\Notifications\CheckoutAccessoryNotification;
use Illuminate\Support\Facades\Notification;
use Tests\TestCase;
final class AccessoryCheckoutTest extends TestCase
class AccessoryCheckoutTest extends TestCase
{
public function testCheckingOutAccessoryRequiresCorrectPermission()
{

View file

@ -15,7 +15,7 @@ use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Event;
use Tests\TestCase;
final class AssetCheckoutTest extends TestCase
class AssetCheckoutTest extends TestCase
{
protected function setUp(): void
{

View file

@ -7,7 +7,7 @@ use App\Models\Component;
use App\Models\User;
use Tests\TestCase;
final class ComponentsCheckoutTest extends TestCase
class ComponentsCheckoutTest extends TestCase
{
public function testCheckingOutComponentRequiresCorrectPermission()
{

View file

@ -11,7 +11,7 @@ use App\Notifications\CheckoutConsumableNotification;
use Illuminate\Support\Facades\Notification;
use Tests\TestCase;
final class ConsumableCheckoutTest extends TestCase
class ConsumableCheckoutTest extends TestCase
{
public function testCheckingOutConsumableRequiresCorrectPermission()
{

View file

@ -8,7 +8,7 @@ use App\Models\LicenseSeat;
use App\Models\User;
use Tests\TestCase;
final class LicenseCheckoutTest extends TestCase
class LicenseCheckoutTest extends TestCase
{
public function testNotesAreStoredInActionLogOnCheckoutToAsset()
{

View file

@ -7,7 +7,7 @@ use App\Models\Component;
use App\Models\User;
use Tests\TestCase;
final class ComponentIndexTest extends TestCase
class ComponentIndexTest extends TestCase
{
public function testComponentIndexAdheresToCompanyScoping()
{

View file

@ -5,7 +5,7 @@ namespace Tests\Feature\Components\Ui;
use App\Models\User;
use Tests\TestCase;
final class ComponentIndexTest extends TestCase
class ComponentIndexTest extends TestCase
{
public function testPermissionRequiredToViewComponentsList()
{

View file

@ -11,7 +11,7 @@ use App\Models\Actionlog;
use Tests\TestCase;
final class MergeUsersTest extends TestCase
class MergeUsersTest extends TestCase
{
public function testAssetsAreTransferredOnUserMerge()
{

View file

@ -4,7 +4,7 @@ namespace Tests\Feature\Console;
use Tests\TestCase;
final class OptimizeTest extends TestCase
class OptimizeTest extends TestCase
{
public function testOptimizeSucceeds()
{

View file

@ -7,7 +7,7 @@ use App\Models\Consumable;
use App\Models\User;
use Tests\TestCase;
final class ConsumableIndexTest extends TestCase
class ConsumableIndexTest extends TestCase
{
public function testConsumableIndexAdheresToCompanyScoping()
{

View file

@ -7,7 +7,7 @@ use App\Models\Category;
use App\Models\User;
use Tests\TestCase;
final class ConsumableUpdateTest extends TestCase
class ConsumableUpdateTest extends TestCase
{
public function testCanUpdateConsumableViaPatchWithoutCategoryType()

View file

@ -7,7 +7,7 @@ use App\Models\Consumable;
use App\Models\User;
use Tests\TestCase;
final class ConsumableViewTest extends TestCase
class ConsumableViewTest extends TestCase
{
public function testConsumableViewAdheresToCompanyScoping()
{

View file

@ -5,7 +5,7 @@ namespace Tests\Feature\Consumables\Ui;
use App\Models\User;
use Tests\TestCase;
final class ConsumableIndexTest extends TestCase
class ConsumableIndexTest extends TestCase
{
public function testPermissionRequiredToViewConsumablesList()
{

View file

@ -6,7 +6,7 @@ use App\Models\Consumable;
use App\Models\User;
use Tests\TestCase;
final class ConsumableViewTest extends TestCase
class ConsumableViewTest extends TestCase
{
public function testPermissionRequiredToViewConsumable()
{

View file

@ -5,7 +5,7 @@ namespace Tests\Feature;
use App\Models\User;
use Tests\TestCase;
final class DashboardTest extends TestCase
class DashboardTest extends TestCase
{
public function testUsersWithoutAdminAccessAreRedirected()
{

View file

@ -9,7 +9,7 @@ use App\Models\User;
use Illuminate\Testing\Fluent\AssertableJson;
use Tests\TestCase;
final class CreateDepartmentsTest extends TestCase
class CreateDepartmentsTest extends TestCase
{

View file

@ -8,7 +8,7 @@ use App\Models\User;
use Illuminate\Testing\Fluent\AssertableJson;
use Tests\TestCase;
final class DepartmentsIndexTest extends TestCase
class DepartmentsIndexTest extends TestCase
{
public function testViewingDepartmentIndexRequiresAuthentication()
{

View file

@ -7,7 +7,7 @@ use App\Models\Category;
use App\Models\User;
use Tests\TestCase;
final class UpdateDepartmentsTest extends TestCase
class UpdateDepartmentsTest extends TestCase
{
public function testRequiresPermissionToEditDepartment()

View file

@ -7,7 +7,7 @@ use App\Models\Company;
use App\Models\User;
use Tests\TestCase;
final class CreateDepartmentsTest extends TestCase
class CreateDepartmentsTest extends TestCase
{
public function testPermissionRequiredToCreateDepartment()
{

View file

@ -5,7 +5,7 @@ namespace Tests\Feature\Departments\Ui;
use App\Models\User;
use Tests\TestCase;
final class IndexDepartmentsTest extends TestCase
class IndexDepartmentsTest extends TestCase
{
public function testPermissionRequiredToViewDepartmentsList()
{

View file

@ -7,7 +7,7 @@ use App\Models\Category;
use App\Models\User;
use Tests\TestCase;
final class UpdateDepartmentsTest extends TestCase
class UpdateDepartmentsTest extends TestCase
{
public function testPermissionRequiredToStoreDepartment()
{

View file

@ -7,7 +7,7 @@ use App\Models\Group;
use App\Models\User;
use Tests\TestCase;
final class StoreGroupTest extends TestCase
class StoreGroupTest extends TestCase
{
public function testStoringGroupRequiresSuperAdminPermission()
{

View file

@ -5,7 +5,7 @@ namespace Tests\Feature\Groups\Ui;
use App\Models\User;
use Tests\TestCase;
final class IndexGroupTest extends TestCase
class IndexGroupTest extends TestCase
{
public function testPermissionRequiredToViewGroupList()
{

View file

@ -7,7 +7,7 @@ use App\Models\License;
use App\Models\User;
use Tests\TestCase;
final class LicenseIndexTest extends TestCase
class LicenseIndexTest extends TestCase
{
public function testLicensesIndexAdheresToCompanyScoping()
{

View file

@ -9,7 +9,7 @@ use App\Models\Depreciation;
use App\Models\User;
use Tests\TestCase;
final class CreateLicenseTest extends TestCase
class CreateLicenseTest extends TestCase
{
public function testPermissionRequiredToViewLicense()
{

View file

@ -5,7 +5,7 @@ namespace Tests\Feature\Licenses\Ui;
use App\Models\User;
use Tests\TestCase;
final class LicenseIndexTest extends TestCase
class LicenseIndexTest extends TestCase
{
public function testPermissionRequiredToViewLicenseList()
{

View file

@ -7,7 +7,7 @@ use App\Models\Depreciation;
use App\Models\User;
use Tests\TestCase;
final class LicenseViewTest extends TestCase
class LicenseViewTest extends TestCase
{
public function testPermissionRequiredToViewLicense()
{

View file

@ -6,7 +6,7 @@ use App\Livewire\CategoryEditForm;
use Livewire\Livewire;
use Tests\TestCase;
final class CategoryEditFormTest extends TestCase
class CategoryEditFormTest extends TestCase
{
public function testTheComponentCanRender()
{

View file

@ -6,7 +6,7 @@ use App\Models\Location;
use App\Models\User;
use Tests\TestCase;
final class CreateLocationsTest extends TestCase
class CreateLocationsTest extends TestCase
{
public function testRequiresPermissionToCreateLocation()

View file

@ -7,7 +7,7 @@ use App\Models\Location;
use App\Models\User;
use Tests\TestCase;
final class DeleteLocationsTest extends TestCase
class DeleteLocationsTest extends TestCase
{
public function testErrorReturnedViaApiIfLocationDoesNotExist()

View file

@ -8,7 +8,7 @@ use App\Models\User;
use Illuminate\Testing\Fluent\AssertableJson;
use Tests\TestCase;
final class IndexLocationsTest extends TestCase
class IndexLocationsTest extends TestCase
{
public function testViewingLocationIndexRequiresAuthentication()
{

View file

@ -7,7 +7,7 @@ use App\Models\User;
use Illuminate\Testing\Fluent\AssertableJson;
use Tests\TestCase;
final class LocationsForSelectListTest extends TestCase
class LocationsForSelectListTest extends TestCase
{
public function testGettingLocationListRequiresProperPermission()
{

View file

@ -7,7 +7,7 @@ use App\Models\Asset;
use App\Models\User;
use Tests\TestCase;
final class LocationsViewTest extends TestCase
class LocationsViewTest extends TestCase
{
public function testViewingLocationRequiresPermission()
{

View file

@ -6,7 +6,7 @@ use App\Models\Location;
use App\Models\User;
use Tests\TestCase;
final class UpdateLocationsTest extends TestCase
class UpdateLocationsTest extends TestCase
{
public function testRequiresPermissionToEditLocation()

View file

@ -7,7 +7,7 @@ use App\Models\Company;
use App\Models\User;
use Tests\TestCase;
final class CreateLocationsTest extends TestCase
class CreateLocationsTest extends TestCase
{
public function testPermissionRequiredToCreateLocation()
{

View file

@ -5,7 +5,7 @@ namespace Tests\Feature\Locations\Ui;
use App\Models\User;
use Tests\TestCase;
final class IndexLocationsTest extends TestCase
class IndexLocationsTest extends TestCase
{
public function testPermissionRequiredToViewLocationsList()
{

View file

@ -6,7 +6,7 @@ use App\Models\Location;
use App\Models\User;
use Tests\TestCase;
final class UpdateLocationsTest extends TestCase
class UpdateLocationsTest extends TestCase
{
public function testPermissionRequiredToStoreLocation()
{

View file

@ -11,7 +11,7 @@ use Illuminate\Support\Facades\Notification;
use Tests\TestCase;
#[Group('notifications')]
final class EmailNotificationsUponCheckinTest extends TestCase
class EmailNotificationsUponCheckinTest extends TestCase
{
protected function setUp(): void
{

View file

@ -19,7 +19,7 @@ use Illuminate\Support\Facades\Notification;
use Tests\TestCase;
#[Group('notifications')]
final class SlackNotificationsUponCheckinTest extends TestCase
class SlackNotificationsUponCheckinTest extends TestCase
{
protected function setUp(): void
{

View file

@ -21,7 +21,7 @@ use Illuminate\Support\Facades\Notification;
use Tests\TestCase;
#[Group('notifications')]
final class SlackNotificationsUponCheckoutTest extends TestCase
class SlackNotificationsUponCheckoutTest extends TestCase
{
protected function setUp(): void
{

View file

@ -10,7 +10,7 @@ use League\Csv\Reader;
use PHPUnit\Framework\Assert;
use Tests\TestCase;
final class CustomReportTest extends TestCase
class CustomReportTest extends TestCase
{
protected function setUp(): void
{

View file

@ -10,7 +10,7 @@ use League\Csv\Reader;
use PHPUnit\Framework\Assert;
use Tests\TestCase;
final class UnacceptedAssetReportTest extends TestCase
class UnacceptedAssetReportTest extends TestCase
{
protected function setUp(): void
{

View file

@ -10,7 +10,7 @@ use App\Models\User;
use App\Models\Setting;
final class BrandingSettingsTest extends TestCase
class BrandingSettingsTest extends TestCase
{
public function testSiteNameIsRequired()
{

View file

@ -19,7 +19,7 @@ use Illuminate\Testing\TestResponse;
use PDOException;
use Tests\TestCase;
final class ShowSetUpPageTest extends TestCase
class ShowSetUpPageTest extends TestCase
{
/**
* We do not want to make actual http request on every test to check .env file

View file

@ -8,7 +8,7 @@ use App\Models\Location;
use App\Models\User;
use Tests\TestCase;
final class DeleteUserTest extends TestCase
class DeleteUserTest extends TestCase
{

View file

@ -8,7 +8,7 @@ use App\Models\Location;
use App\Models\User;
use Tests\TestCase;
final class RestoreUserTest extends TestCase
class RestoreUserTest extends TestCase
{

View file

@ -10,7 +10,7 @@ use App\Models\User;
use Illuminate\Support\Facades\Hash;
use Tests\TestCase;
final class UpdateUserTest extends TestCase
class UpdateUserTest extends TestCase
{
public function testCanUpdateUserViaPatch()
{

View file

@ -7,7 +7,7 @@ use App\Models\User;
use Laravel\Passport\Passport;
use Tests\TestCase;
final class UserSearchTest extends TestCase
class UserSearchTest extends TestCase
{
public function testCanSearchByUserFirstAndLastName()
{

View file

@ -8,7 +8,7 @@ use Illuminate\Testing\Fluent\AssertableJson;
use Laravel\Passport\Passport;
use Tests\TestCase;
final class UsersForSelectListTest extends TestCase
class UsersForSelectListTest extends TestCase
{
public function testUsersAreReturned()
{

View file

@ -8,7 +8,7 @@ use Illuminate\Testing\Fluent\AssertableJson;
use Laravel\Passport\Passport;
use Tests\TestCase;
final class ViewUserTest extends TestCase
class ViewUserTest extends TestCase
{
public function testCanReturnUser()

View file

@ -11,7 +11,7 @@ use App\Models\Company;
use App\Models\Asset;
final class DeleteUserTest extends TestCase
class DeleteUserTest extends TestCase
{
public function testUserCanDeleteAnotherUser()

View file

@ -11,7 +11,7 @@ use App\Models\Actionlog;
use Tests\TestCase;
final class MergeUsersTest extends TestCase
class MergeUsersTest extends TestCase
{
public function testAssetsAreTransferredOnUserMerge()
{

View file

@ -5,7 +5,7 @@ namespace Tests\Feature\Users\Ui;
use App\Models\User;
use Tests\TestCase;
final class UpdateUserTest extends TestCase
class UpdateUserTest extends TestCase
{
public function testUsersCanBeActivatedWithNumber()
{

View file

@ -8,7 +8,7 @@ use App\Notifications\CurrentInventory;
use Illuminate\Support\Facades\Notification;
use Tests\TestCase;
final class ViewUserTest extends TestCase
class ViewUserTest extends TestCase
{
public function testPermissionsForUserDetailPage()
{

View file

@ -8,7 +8,7 @@ use App\Models\Category;
use App\Models\Company;
use Tests\TestCase;
final class AccessoryTest extends TestCase
class AccessoryTest extends TestCase
{
public function testAnAccessoryBelongsToACompany()
{

View file

@ -4,7 +4,7 @@ namespace Tests\Unit;
use App\Models\AssetMaintenance;
use Tests\TestCase;
final class AssetMaintenanceTest extends TestCase
class AssetMaintenanceTest extends TestCase
{
public function testZerosOutWarrantyIfBlank()
{

View file

@ -6,7 +6,7 @@ use App\Models\Category;
use App\Models\AssetModel;
use Tests\TestCase;
final class AssetModelTest extends TestCase
class AssetModelTest extends TestCase
{
public function testAnAssetModelContainsAssets()
{

View file

@ -8,7 +8,7 @@ use Carbon\Carbon;
use Tests\TestCase;
use App\Models\Setting;
final class AssetTest extends TestCase
class AssetTest extends TestCase
{
public function testAutoIncrement()
{

View file

@ -6,7 +6,7 @@ use App\Models\AssetModel;
use App\Models\Asset;
use Tests\TestCase;
final class CategoryTest extends TestCase
class CategoryTest extends TestCase
{
public function testFailsEmptyValidation()
{

View file

@ -15,7 +15,7 @@ use App\Models\User;
use Illuminate\Database\Eloquent\Model;
use Tests\TestCase;
final class CompanyScopingTest extends TestCase
class CompanyScopingTest extends TestCase
{
public static function models(): array
{

View file

@ -7,7 +7,7 @@ use App\Models\Component;
use App\Models\Location;
use Tests\TestCase;
final class ComponentTest extends TestCase
class ComponentTest extends TestCase
{
public function testAComponentBelongsToACompany()
{

View file

@ -8,7 +8,7 @@ use Tests\TestCase;
* Test strings for db column names gathered from
* http://www.omniglot.com/language/phrases/hovercraft.htm
*/
final class CustomFieldTest extends TestCase
class CustomFieldTest extends TestCase
{
public function testFormat()
{

View file

@ -7,7 +7,7 @@ use App\Models\License;
use App\Models\AssetModel;
use Tests\TestCase;
final class DepreciationTest extends TestCase
class DepreciationTest extends TestCase
{
public function testADepreciationHasModels()
{

View file

@ -8,7 +8,7 @@ use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\Session;
use Tests\TestCase;
final class HelperTest extends TestCase
class HelperTest extends TestCase
{
public function testDefaultChartColorsMethodHandlesHighValues()
{

View file

@ -7,7 +7,7 @@ use App\Models\Ldap;
use Tests\TestCase;
#[Group('ldap')]
final class LdapTest extends TestCase
class LdapTest extends TestCase
{
use \phpmock\phpunit\PHPMock;

View file

@ -8,7 +8,7 @@ use App\Models\Asset;
use App\Models\User;
use Tests\TestCase;
final class LogListenerTest extends TestCase
class LogListenerTest extends TestCase
{
public function testLogsEntryOnCheckoutableCheckedOut()
{

View file

@ -4,7 +4,7 @@ namespace Tests\Unit;
use App\Models\Location;
use Tests\TestCase;
final class LocationTest extends TestCase
class LocationTest extends TestCase
{
public function testPassesIfNotSelfParent()
{

View file

@ -5,7 +5,7 @@ use App\Models\Company;
use App\Models\User;
use Tests\TestCase;
final class CompanyTest extends TestCase
class CompanyTest extends TestCase
{
public function testACompanyCanHaveUsers()
{

View file

@ -6,7 +6,7 @@ use App\Models\Company;
use App\Models\User;
use Tests\TestCase;
final class GetIdForCurrentUserTest extends TestCase
class GetIdForCurrentUserTest extends TestCase
{
public function testReturnsProvidedValueWhenFullCompanySupportDisabled()
{

Some files were not shown because too many files have changed in this diff Show more