mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 21:30:26 +00: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:
@@ -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() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user