From ed6a37bb376b30af25cf2e8cf6b2ed6077d29a9a Mon Sep 17 00:00:00 2001 From: Tigrov Date: Fri, 28 Jul 2023 13:18:35 +0700 Subject: [PATCH] Add test for ColumnInterface --- tests/QueryBuilderTest.php | 11 +++++++++++ 1 file changed, 11 insertions(+) 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(); }