Skip to content

Commit

Permalink
wpi
Browse files Browse the repository at this point in the history
  • Loading branch information
romanzipp committed Mar 13, 2024
1 parent 7933a2a commit b7a1c1d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions tests/TestCases/DatabaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,13 @@
namespace romanzipp\QueueMonitor\Tests\TestCases;

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\Schema;

abstract class DatabaseTestCase extends TestCase
{
use RefreshDatabase {
refreshTestDatabase as baseRefreshTestDatabase;
}

protected function refreshTestDatabase(): void
protected function afterRefreshingDatabase(): void
{
$this->tryCreateJobsTables();

$this->baseRefreshTestDatabase();
}

protected function tryCreateJobsTables(): void
Expand Down

0 comments on commit b7a1c1d

Please sign in to comment.