Make WordPress Core


Ignore:
Timestamp:
07/05/2020 12:50:47 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/db.php

    r47498 r48317  
    9191
    9292        // Switch to a locale using comma as a decimal point separator.
    93         $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' );
     93        $flag = setlocale( LC_ALL, 'ru_RU.utf8', 'rus', 'fr_FR.utf8', 'fr_FR', 'de_DE.utf8', 'de_DE', 'es_ES.utf8', 'es_ES' );
    9494        if ( false === $flag ) {
    9595            $this->markTestSkipped( 'No European locales available for testing' );
Note: See TracChangeset for help on using the changeset viewer.