mirror of
https://github.com/e107inc/e107.git
synced 2025-04-28 08:22:44 +02:00
db_table_adminTest::testGet_current_table(): Alias utf8mb3 => utf8
MySQL 8.0 compatibility Ideally, we'd be using utf8mb4 everywhere, but alas...
This commit is contained in:
parent
7ff45abe36
commit
cdde5ef86b
@ -346,7 +346,13 @@
|
||||
|
||||
$result = $this->dta->get_current_table('core');
|
||||
|
||||
$this->assertSame($result,$expected);
|
||||
// MySQL 8.0+: Alias CHARSET=utf8mb3 to CHARSET=utf8
|
||||
array_walk_recursive($result, function(&$element)
|
||||
{
|
||||
$element = str_replace("CHARSET=utf8mb3", "CHARSET=utf8", $element);
|
||||
});
|
||||
|
||||
$this->assertSame($expected, $result);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user