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

@ -5,11 +5,14 @@ declare(strict_types=1);
namespace Tests\Feature;
use App\Models\Article;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Jonnybarnes\IndieWeb\Numbers;
use Tests\TestCase;
class ArticlesTest extends TestCase
{
use RefreshDatabase;
/** @test */
public function articlesPageLoads(): void
{