Skip to content

Commit

Permalink
Fix migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Mar 13, 2024
1 parent a42a109 commit dc25aed
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tests/Feature/FeatureTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,25 @@

namespace Tests\Feature;

use Illuminate\Foundation\Testing\LazilyRefreshDatabase;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\Route;
use Orchestra\Testbench\Attributes\WithMigration;
use Tests\Models\BasicModel;
use Tests\Resources\UserResource;
use Tests\TestCase;

class FeatureTest extends TestCase
{
use RefreshDatabase;
use LazilyRefreshDatabase;

public function setUp(): void
/**
* Define database migrations.
*
* @return void
*/
protected function defineDatabaseMigrations()
{
parent::setUp();

$this->loadMigrationsFrom(__DIR__ . '/../database');
}

Expand Down

0 comments on commit dc25aed

Please sign in to comment.