Tests: Remove ja_JP
locale from Tests_DB::test_locale_floats()
.
This test is only relevant for locales using a comma as a decimal separator, while `ja_JP` uses a dot. Props gh640, johnjamesjacoby, SergeyBiryukov. Fixes #49690. git-svn-id: https://develop.svn.wordpress.org/trunk@48317 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ff1bf05b69
commit
42d51e4e2e
@ -90,7 +90,7 @@ class Tests_DB extends WP_UnitTestCase {
|
||||
$current_locales = explode( ';', setlocale( LC_ALL, 0 ) );
|
||||
|
||||
// Switch to a locale using comma as a decimal point separator.
|
||||
$flag = setlocale( LC_ALL, 'ru_RU.utf8', 'rus', 'fr_FR.utf8', 'fr_FR', 'de_DE.utf8', 'de_DE', 'es_ES.utf8', 'es_ES', 'ja_JP.utf8', 'ja_JP' );
|
||||
$flag = setlocale( LC_ALL, 'ru_RU.utf8', 'rus', 'fr_FR.utf8', 'fr_FR', 'de_DE.utf8', 'de_DE', 'es_ES.utf8', 'es_ES' );
|
||||
if ( false === $flag ) {
|
||||
$this->markTestSkipped( 'No European locales available for testing' );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user