I18N: Fix duplicate determine_locale() tests added in [57286].

Props johnbillion.
See #58696.

git-svn-id: https://develop.svn.wordpress.org/trunk@57305 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Pascal Birchler 2024-01-17 18:54:36 +00:00
parent a64c96fe9f
commit 0b7165e60d

View File

@ -300,11 +300,11 @@ class Tests_L10n_DetermineLocale extends WP_UnitTestCase {
}
public function test_wp_local_package_global_not_installing() {
$_REQUEST['language'] = 'de_DE';
$GLOBALS['wp_local_package'] = 'de_DE';
$this->assertSame( 'en_US', determine_locale() );
}
public function test_wp_local_package_global_installing() {
$_REQUEST['language'] = 'de_DE';
$GLOBALS['wp_local_package'] = 'de_DE';
wp_installing( true );
$this->assertSame( 'de_DE', determine_locale() );
}