diff --git a/tests/Common/AbstractMigrationBuilderTest.php b/tests/Common/AbstractMigrationBuilderTest.php index 235f9e12..a63b82d8 100644 --- a/tests/Common/AbstractMigrationBuilderTest.php +++ b/tests/Common/AbstractMigrationBuilderTest.php @@ -219,10 +219,6 @@ public function testAddColumn(string $type, ?string $expectedComment = null): vo } } - if ($expectedComment === null && $this->db->getDriverName() === 'mysql') { - $expectedComment = ''; - } - $this->builder->createTable('test', ['id' => 'int']); $this->builder->addColumn('test', 'code', $type); @@ -307,10 +303,6 @@ public function testAlterColumn(string $type, string|null $defaultValue = null, 'oci' => str_replace('string(4)', 'varchar2(4)', $expectedOutputString), }; - if ($expectedComment === null && $this->db->getDriverName() === 'mysql') { - $expectedComment = ''; - } - $this->builder->createTable('test', ['id' => ColumnBuilder::integer()]); $this->builder->alterColumn('test', 'id', $type);