Do not skip when mysql uses utf8mb4
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
43b7b143f4
commit
303e073724
|
@ -113,7 +113,8 @@ class CacheTest extends \Test\TestCase {
|
|||
public function testFolder($folder) {
|
||||
if(strpos($folder, 'F09F9890')) {
|
||||
// 4 byte UTF doesn't work on mysql
|
||||
if(\OC::$server->getDatabaseConnection()->getDatabasePlatform() instanceof MySqlPlatform) {
|
||||
$params = \OC::$server->getDatabaseConnection()->getParams();
|
||||
if(\OC::$server->getDatabaseConnection()->getDatabasePlatform() instanceof MySqlPlatform && $params['charset'] !== 'utf8mb4') {
|
||||
$this->markTestSkipped('MySQL doesn\'t support 4 byte UTF-8');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue