PersonalAccessTokenTest refactoring

This commit is contained in:
Peter Papp
2021-07-18 10:20:47 +02:00
parent 4384e50f34
commit aeb5c8419a
21 changed files with 119 additions and 173 deletions
-3
View File
@@ -9,15 +9,12 @@ use App\Models\Setting;
use App\Models\Share;
use App\Models\User;
use App\Services\SetupService;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Mail;
use ScssPhp\ScssPhp\Compiler;
use Tests\TestCase;
class AppTest extends TestCase
{
use DatabaseMigrations;
public function __construct()
{
parent::__construct();
-4
View File
@@ -2,18 +2,14 @@
namespace Tests\Feature\App;
use App\Models\LanguageTranslation;
use App\Models\User;
use DB;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Support\Str;
use Laravel\Sanctum\Sanctum;
use Tests\TestCase;
class AppUpgradeTest extends TestCase
{
use DatabaseMigrations;
public function __construct()
{
parent::__construct();
-3
View File
@@ -7,15 +7,12 @@ use App\Models\User;
use App\Models\Zip;
use App\Services\SchedulerService;
use App\Services\SetupService;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Http\UploadedFile;
use Storage;
use Tests\TestCase;
class SchedulerTest extends TestCase
{
use DatabaseMigrations;
public function __construct()
{
parent::__construct();