Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix migration tests
  • Loading branch information
pierres committed Jun 9, 2019
1 parent 690ed94 commit 9268fb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Migrations/MigrationsTest.php
Expand Up @@ -9,7 +9,7 @@ class MigrationsTest extends DatabaseTestCase
{
public function setUp(): void
{
static::bootKernel();
static::$client = static::createClient();
if ($this->isPersistentDatabase()) {
$this->dropDatabase();
$this->createDatabase();
Expand Down Expand Up @@ -70,9 +70,9 @@ private function addAllMigrationVersions()
public function testMigration(string $version)
{
$this->migrateDatabase($version);
static::bootKernel();
static::$client = static::createClient();
$this->migrateDatabase('prev');
static::bootKernel();
static::$client = static::createClient();
$this->migrateDatabase('next');
}

Expand Down

0 comments on commit 9268fb7

Please sign in to comment.