Skip to content

Commit ea94638

Browse files
committed
MySQL full unicode support
1 parent c45c6b7 commit ea94638

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Installer/Database/MariaDBDatabaseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function testGetCreateDatabaseCommand()
2424
$database->pass = 'TestPass';
2525
$database->host = 'TestHost';
2626

27-
$expected = 'mysql -u \'TestUser\' --password=\'TestPass\' -h \'TestHost\' -e \'CREATE DATABASE `TestName` DEFAULT CHARACTER SET UTF8 COLLATE utf8_general_ci;\'';
27+
$expected = 'mysql -u \'TestUser\' --password=\'TestPass\' -h \'TestHost\' -e \'CREATE DATABASE `TestName` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;\'';
2828
$this->assertSame($expected, $database->getCreateDatabaseCommand());
2929
}
3030
}

tests/Installer/Database/MySQLDatabaseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function testGetCreateDatabaseCommand()
2424
$database->pass = 'TestPass';
2525
$database->host = 'TestHost';
2626

27-
$expected = 'mysql -u \'TestUser\' --password=\'TestPass\' -h \'TestHost\' -e \'CREATE DATABASE `TestName` DEFAULT CHARACTER SET UTF8 COLLATE utf8_general_ci;\'';
27+
$expected = 'mysql -u \'TestUser\' --password=\'TestPass\' -h \'TestHost\' -e \'CREATE DATABASE `TestName` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;\'';
2828
$this->assertSame($expected, $database->getCreateDatabaseCommand());
2929
}
3030
}

0 commit comments

Comments
 (0)