Skip to content

Commit

Permalink
Update tests/Platforms/AbstractPlatformTestCase.php
Browse files Browse the repository at this point in the history
Co-authored-by: Grégoire Paris <postmaster@greg0ire.fr>
  • Loading branch information
berkut1 and greg0ire authored Jun 6, 2024
1 parent 50a3bd1 commit f143f7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Platforms/AbstractPlatformTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -1451,10 +1451,10 @@ public function testColumnComparisonWithDisabledTypeComments(): void
$column1 = new Column('foo', Type::getType(Types::DATETIME_MUTABLE));
$column2 = new Column('foo', Type::getType(Types::DATETIME_IMMUTABLE));

$this->platform->setDisableTypeComments(true);
$result = (new Comparator($this->platform))->columnsEqual($column1, $column2);
self::assertFalse($this->platform->columnsEqual($column1, $column2));

self::assertTrue($result);
$this->platform->setDisableTypeComments(true);
self::assertTrue($this->platform->columnsEqual($column1, $column2));
}

public function tearDown(): void
Expand Down

0 comments on commit f143f7f

Please sign in to comment.