mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Tests: Remove some unnecessary multisite test skipping.
These checks are redundant, as the skipping already handled by the `ms-required` and `ms-excluded` groups. Follow-up to [36740], [36741], [38705], [40520], [51415]. Props johnbillion. See #59647. git-svn-id: https://develop.svn.wordpress.org/trunk@57008 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -40,10 +40,6 @@ class Tests_L10n_GetLocale extends WP_UnitTestCase {
|
||||
* @group ms-required
|
||||
*/
|
||||
public function test_network_option_should_be_fallback_on_multisite() {
|
||||
if ( ! is_multisite() ) {
|
||||
$this->markTestSkipped( 'This test requires Multisite.' );
|
||||
}
|
||||
|
||||
global $locale;
|
||||
$old_locale = $locale;
|
||||
$locale = null;
|
||||
@@ -60,10 +56,6 @@ class Tests_L10n_GetLocale extends WP_UnitTestCase {
|
||||
* @group ms-excluded
|
||||
*/
|
||||
public function test_option_should_be_respected_on_nonmultisite() {
|
||||
if ( is_multisite() ) {
|
||||
$this->markTestSkipped( 'This test does not apply to Multisite.' );
|
||||
}
|
||||
|
||||
global $locale;
|
||||
$old_locale = $locale;
|
||||
$locale = null;
|
||||
|
||||
@@ -67,10 +67,6 @@ class Tests_L10n_GetUserLocale extends WP_UnitTestCase {
|
||||
* @group ms-required
|
||||
*/
|
||||
public function test_user_locale_is_same_across_network() {
|
||||
if ( ! is_multisite() ) {
|
||||
$this->markTestSkipped( 'This test requires Multisite.' );
|
||||
}
|
||||
|
||||
$user_locale = get_user_locale();
|
||||
|
||||
switch_to_blog( self::factory()->blog->create() );
|
||||
|
||||
Reference in New Issue
Block a user