diff --git a/tests/QueryBuilderTest.php b/tests/QueryBuilderTest.php index b57378150..39e6ba959 100644 --- a/tests/QueryBuilderTest.php +++ b/tests/QueryBuilderTest.php @@ -204,6 +204,17 @@ public function testAlterColumn(): void ), ); + $this->assertSame( + <<alterColumn( + 'foo1', + 'bar', + (new Column(SchemaInterface::TYPE_STRING, 30))->unique() + ), + ); + $db->close(); }