Skip to content

Commit af3610c

Browse files
authored
Merge pull request #49113 from Jubeki/fix-mariadb-tests
[slim-skeleton-11.x] Fix MariaDB Tests with changed query
2 parents dba69d5 + ac05660 commit af3610c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/Integration/Database/SchemaBuilderTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,10 @@ public function testChangeTextColumnToTextColumn()
132132

133133
$uppercase = strtoupper($type);
134134

135-
$expected = ["ALTER TABLE test CHANGE test_column test_column $uppercase NOT NULL"];
136-
137-
$this->assertEquals($expected, $queries);
135+
$this->assertContains($queries, [
136+
["ALTER TABLE test CHANGE test_column test_column $uppercase NOT NULL"], // MySQL
137+
["ALTER TABLE test CHANGE test_column test_column $uppercase NOT NULL COLLATE `utf8mb4_uca1400_ai_ci`"], // MariaDB
138+
]);
138139
}
139140
}
140141
}

0 commit comments

Comments
 (0)