diff --git a/tests/Platforms/SQLServerPlatformTest.php b/tests/Platforms/SQLServerPlatformTest.php index d4812718cd4..dcca3bc3e5e 100644 --- a/tests/Platforms/SQLServerPlatformTest.php +++ b/tests/Platforms/SQLServerPlatformTest.php @@ -994,7 +994,7 @@ public function testGeneratesAlterTableSQLWithColumnComments(): void 'comment_with_string_literal_char', new Column('comment_with_string_literal_char', Type::getType(Types::STRING), ['comment' => "'"]), ['comment'], - new Column('comment_with_string_literal_char', Type::getType(Types::ARRAY), ['comment' => "O'Reilly"]), + new Column('comment_with_string_literal_char', Type::getType(Types::STRING), ['comment' => "O'Reilly"]), ); $tableDiff->removedColumns['comment_integer_0'] @@ -1025,7 +1025,6 @@ public function testGeneratesAlterTableSQLWithColumnComments(): void 'ALTER TABLE mytable ALTER COLUMN [comment_quoted] VARCHAR(MAX) NOT NULL', 'ALTER TABLE mytable ALTER COLUMN [create] VARCHAR(MAX) NOT NULL', 'ALTER TABLE mytable ALTER COLUMN commented_type INT NOT NULL', - 'ALTER TABLE mytable ALTER COLUMN comment_with_string_literal_char NVARCHAR(255) NOT NULL', // Added columns. "EXEC sp_addextendedproperty N'MS_Description', N'0', " . "N'SCHEMA', 'dbo', N'TABLE', 'mytable', N'COLUMN', added_comment_integer_0",