diff --git a/tests/Migrations/MigratorTest.php b/tests/Migrations/MigratorTest.php index 42bed3a..fcb376d 100644 --- a/tests/Migrations/MigratorTest.php +++ b/tests/Migrations/MigratorTest.php @@ -105,7 +105,7 @@ public function testConfig(): void public function testRunUnconfigured(): void { $this->expectException(MigrationException::class); - $this->expectExceptionMessage('Unable to run migration, Migrator not configured'); + $this->expectExceptionMessage("Unable to run migration, Migrator not configured"); $this->migrator->run(); } @@ -113,7 +113,7 @@ public function testRunUnconfigured(): void public function testRollbackUnconfigured(): void { $this->expectException(MigrationException::class); - $this->expectExceptionMessage('Unable to run migration, Migrator not configured'); + $this->expectExceptionMessage("Unable to run migration, Migrator not configured"); $this->migrator->rollback(); } @@ -134,17 +134,15 @@ public function testCapsuleException(): void $this->expectException(\Spiral\Migrations\Exception\CapsuleException::class); $capsule = new Capsule($this->db); - $capsule->execute( - [ - $this - ] - ); + $capsule->execute([ + $this + ]); } public function testNoState(): void { $this->expectException(MigrationException::class); - $this->expectExceptionMessage('Unable to get migration state, no state are set'); + $this->expectExceptionMessage("Unable to get migration state, no state are set"); $x = new TestMigration(); $x->up(); @@ -153,7 +151,7 @@ public function testNoState(): void public function testNoCapsule(): void { $this->expectException(MigrationException::class); - $this->expectExceptionMessage('Unable to get table blueprint, no capsule are set'); + $this->expectExceptionMessage("Unable to get table blueprint, no capsule are set"); $x = new TestMigration(); $x->getTable(); @@ -162,7 +160,7 @@ public function testNoCapsule(): void public function testNoCapsule2(): void { $this->expectException(MigrationException::class); - $this->expectExceptionMessage('Unable to get database, no capsule are set'); + $this->expectExceptionMessage("Unable to get database, no capsule are set"); $x = new TestMigration(); $x->down();