Switch all test to use RefreshDatabase trait

This commit is contained in:
Jonny Barnes 2021-08-31 12:48:43 +01:00
parent 1abca77bdc
commit 9f66d342d8
18 changed files with 57 additions and 16 deletions

View file

@ -6,7 +6,7 @@ namespace Tests\Feature;
use App\Jobs\ProcessMedia;
use App\Models\Media;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Http\UploadedFile;
use Illuminate\Support\Facades\Queue;
use Illuminate\Support\Facades\Storage;
@ -15,7 +15,7 @@ use Tests\TestToken;
class MicropubMediaTest extends TestCase
{
use DatabaseTransactions;
use RefreshDatabase;
use TestToken;
/** @test */