Skip to content

Commit

Permalink
Fix load migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza committed Apr 26, 2024
1 parent 179fc79 commit 980197b
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,11 @@ abstract class TestCase extends AbstractPackageTestCase
{
use RefreshDatabase;

/**
* Setup the test environment.
*/
protected function setUp(): void
protected function defineDatabaseMigrations(): void
{
parent::setUp();

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

/**
* Get the service provider class.
*/
protected static function getServiceProviderClass(): string
{
return BuilderMacroServiceProvider::class;
Expand Down

0 comments on commit 980197b

Please sign in to comment.