Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#41469 new defect (bug)

test_charset_switched_to_utf8() is not tested on Travis CI

Reported by: johnbillion's profile johnbillion Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.1
Component: Database Keywords:
Focuses: Cc:


The Tests_DB::test_charset_switched_to_utf8() test (introduced in #37982) is skipped on Travis, because the test gets skipped when the environment's database driver supports utf8mb4. This makes the test useless.

What sort of environment does not support utf8mb4? Presumably an older MySQL version.

We should look into adding a build to Travis with a specific environment that allows this test to run.

Related: #30462

Change History (1)

#1 @pento
7 years ago

uft8mb4 will not be supported for any of these three reasons:

  • MySQL server is < 5.5.3
  • PHP was compiled against libmysql < 5.5.3
  • PHP was compiled against mysqlnd < 5.0.9
Note: See TracTickets for help on using tickets.