Skip to content

Commit 0b7165e

Browse files
committed
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
1 parent a64c96f commit 0b7165e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/phpunit/tests/l10n/determineLocale.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,11 @@ public function test_language_param_installing_incorrect_string() {
300300
}
301301

302302
public function test_wp_local_package_global_not_installing() {
303-
$_REQUEST['language'] = 'de_DE';
303+
$GLOBALS['wp_local_package'] = 'de_DE';
304304
$this->assertSame( 'en_US', determine_locale() );
305305
}
306306
public function test_wp_local_package_global_installing() {
307-
$_REQUEST['language'] = 'de_DE';
307+
$GLOBALS['wp_local_package'] = 'de_DE';
308308
wp_installing( true );
309309
$this->assertSame( 'de_DE', determine_locale() );
310310
}

0 commit comments

Comments
 (0)