Remove unused imports

This commit is contained in:
Marcus Moore 2024-10-03 15:14:07 -07:00
parent 063ea1892b
commit dfdd85abb1
No known key found for this signature in database
7 changed files with 11 additions and 39 deletions

View file

@ -4,19 +4,13 @@ namespace Tests\Feature\Importing\Api;
use App\Models\Accessory; use App\Models\Accessory;
use App\Models\Actionlog; use App\Models\Actionlog;
use App\Models\Company;
use App\Models\Import; use App\Models\Import;
use App\Models\User; use App\Models\User;
use Database\Factories\AccessoryFactory;
use Database\Factories\CompanyFactory;
use Illuminate\Support\Str; use Illuminate\Support\Str;
use Database\Factories\UserFactory;
use Database\Factories\ImportFactory;
use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\Attributes\Test;
use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Support\Arr; use Illuminate\Support\Arr;
use Illuminate\Testing\TestResponse; use Illuminate\Testing\TestResponse;
use PHPUnit\Framework\Attributes\DataProvider;
use Tests\Concerns\TestsPermissionsRequirement; use Tests\Concerns\TestsPermissionsRequirement;
use Tests\Support\Importing\AccessoriesImportFileBuilder as ImportFileBuilder; use Tests\Support\Importing\AccessoriesImportFileBuilder as ImportFileBuilder;
use Tests\Support\Importing\CleansUpImportFiles; use Tests\Support\Importing\CleansUpImportFiles;

View file

@ -9,17 +9,12 @@ use App\Models\Import;
use App\Models\User; use App\Models\User;
use App\Notifications\CheckoutAssetNotification; use App\Notifications\CheckoutAssetNotification;
use Carbon\Carbon; use Carbon\Carbon;
use Database\Factories\AssetFactory;
use Database\Factories\CustomFieldFactory;
use Illuminate\Support\Str;
use Database\Factories\UserFactory;
use Database\Factories\ImportFactory;
use PHPUnit\Framework\Attributes\Test;
use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Support\Arr; use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Notification; use Illuminate\Support\Facades\Notification;
use Illuminate\Support\Str;
use Illuminate\Testing\TestResponse; use Illuminate\Testing\TestResponse;
use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Test;
use Tests\Concerns\TestsPermissionsRequirement; use Tests\Concerns\TestsPermissionsRequirement;
use Tests\Support\Importing\AssetsImportFileBuilder as ImportFileBuilder; use Tests\Support\Importing\AssetsImportFileBuilder as ImportFileBuilder;
use Tests\Support\Importing\CleansUpImportFiles; use Tests\Support\Importing\CleansUpImportFiles;

View file

@ -6,15 +6,11 @@ use App\Models\Actionlog as ActionLog;
use App\Models\Component; use App\Models\Component;
use App\Models\Import; use App\Models\Import;
use App\Models\User; use App\Models\User;
use Database\Factories\ComponentFactory;
use Illuminate\Support\Str;
use Database\Factories\UserFactory;
use Database\Factories\ImportFactory;
use PHPUnit\Framework\Attributes\Test;
use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Support\Facades\Notification; use Illuminate\Support\Facades\Notification;
use Illuminate\Support\Str;
use Illuminate\Testing\TestResponse; use Illuminate\Testing\TestResponse;
use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Test;
use Tests\Concerns\TestsPermissionsRequirement; use Tests\Concerns\TestsPermissionsRequirement;
use Tests\Support\Importing\CleansUpImportFiles; use Tests\Support\Importing\CleansUpImportFiles;
use Tests\Support\Importing\ComponentsImportFileBuilder as ImportFileBuilder; use Tests\Support\Importing\ComponentsImportFileBuilder as ImportFileBuilder;

View file

@ -6,15 +6,11 @@ use App\Models\Actionlog as ActivityLog;
use App\Models\Consumable; use App\Models\Consumable;
use App\Models\Import; use App\Models\Import;
use App\Models\User; use App\Models\User;
use Database\Factories\ConsumableFactory;
use Illuminate\Support\Str;
use Database\Factories\UserFactory;
use Database\Factories\ImportFactory;
use PHPUnit\Framework\Attributes\Test;
use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Support\Facades\Notification; use Illuminate\Support\Facades\Notification;
use Illuminate\Support\Str;
use Illuminate\Testing\TestResponse; use Illuminate\Testing\TestResponse;
use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Test;
use Tests\Concerns\TestsPermissionsRequirement; use Tests\Concerns\TestsPermissionsRequirement;
use Tests\Support\Importing\CleansUpImportFiles; use Tests\Support\Importing\CleansUpImportFiles;
use Tests\Support\Importing\ConsumablesImportFileBuilder as ImportFileBuilder; use Tests\Support\Importing\ConsumablesImportFileBuilder as ImportFileBuilder;

View file

@ -2,8 +2,8 @@
namespace Tests\Feature\Importing\Api; namespace Tests\Feature\Importing\Api;
use Tests\TestCase;
use Illuminate\Testing\TestResponse; use Illuminate\Testing\TestResponse;
use Tests\TestCase;
abstract class ImportDataTestCase extends TestCase abstract class ImportDataTestCase extends TestCase
{ {

View file

@ -6,14 +6,10 @@ use App\Models\Actionlog as ActivityLog;
use App\Models\Import; use App\Models\Import;
use App\Models\License; use App\Models\License;
use App\Models\User; use App\Models\User;
use Illuminate\Support\Str;
use Database\Factories\UserFactory;
use Database\Factories\ImportFactory;
use Database\Factories\LicenseFactory;
use PHPUnit\Framework\Attributes\Test;
use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Support\Str;
use Illuminate\Testing\TestResponse; use Illuminate\Testing\TestResponse;
use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Test;
use Tests\Concerns\TestsPermissionsRequirement; use Tests\Concerns\TestsPermissionsRequirement;
use Tests\Support\Importing\CleansUpImportFiles; use Tests\Support\Importing\CleansUpImportFiles;
use Tests\Support\Importing\LicensesImportFileBuilder as ImportFileBuilder; use Tests\Support\Importing\LicensesImportFileBuilder as ImportFileBuilder;

View file

@ -6,18 +6,13 @@ use App\Models\Asset;
use App\Models\Import; use App\Models\Import;
use App\Models\Location; use App\Models\Location;
use App\Models\User; use App\Models\User;
use Database\Factories\AssetFactory;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Str;
use Database\Factories\UserFactory;
use Database\Factories\ImportFactory;
use PHPUnit\Framework\Attributes\Test;
use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Support\Arr; use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Notification; use Illuminate\Support\Facades\Notification;
use Illuminate\Support\Str;
use Illuminate\Testing\TestResponse; use Illuminate\Testing\TestResponse;
use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\Attributes\Test;
use Tests\Concerns\TestsPermissionsRequirement; use Tests\Concerns\TestsPermissionsRequirement;
use Tests\Support\Importing\CleansUpImportFiles; use Tests\Support\Importing\CleansUpImportFiles;
use Tests\Support\Importing\UsersImportFileBuilder as ImportFileBuilder; use Tests\Support\Importing\UsersImportFileBuilder as ImportFileBuilder;