mirror of
git://develop.git.wordpress.org/
synced 2025-03-15 01:19:51 +01:00
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:
parent
a64c96fe9f
commit
0b7165e60d
@ -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() );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user