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:
Sergey Biryukov
2023-10-25 11:20:23 +00:00
parent 32f75bf0f4
commit 0133fc5441
2 changed files with 0 additions and 12 deletions

View File

@@ -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;

View File

@@ -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() );