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
@@ -11,7 +11,6 @@ use App\Models\Zip;
use App\Notifications\ResetPassword;
use App\Services\SetupService;
use DB;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Http\UploadedFile;
use Notification;
use Laravel\Sanctum\Sanctum;
@@ -20,8 +19,6 @@ use Tests\TestCase;
class AdminTest extends TestCase
{
use DatabaseMigrations;
public function __construct()
{
parent::__construct();
@@ -6,14 +6,11 @@ use App\Models\Language;
use App\Models\Setting;
use App\Models\User;
use App\Services\SetupService;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Laravel\Sanctum\Sanctum;
use Tests\TestCase;
class LanguageEditorTest extends TestCase
{
use DatabaseMigrations;
protected $setup;
public function __construct()