Skip to content

Commit

Permalink
Update TestCase.php
Browse files Browse the repository at this point in the history
  • Loading branch information
milwad-dev committed Mar 28, 2024
1 parent 2c79938 commit 37be5d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Milwad\LaravelAttributes\Tests;

use Illuminate\Support\Facades\Artisan;
use Milwad\LaravelAttributes\LaravelAttributesServiceProvider;

abstract class TestCase extends \Orchestra\Testbench\TestCase
Expand Down Expand Up @@ -37,6 +38,9 @@ protected function getEnvironmentSetUp($app)
protected function setUp(): void
{
parent::setUp();

$this->loadMigrationsFrom(__DIR__.'/SetUp/migrations');

Artisan::call('migrate');
}
}

0 comments on commit 37be5d6

Please sign in to comment.