Make WordPress Core

Changeset 57008 for trunk


Ignore:
Timestamp:
10/25/2023 11:20:23 AM (3 years ago)
Author:
SergeyBiryukov
Message:

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.

Location:
trunk/tests/phpunit/tests/l10n
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/l10n/getLocale.php

    r56548 r57008  
    4141         */
    4242        public function test_network_option_should_be_fallback_on_multisite() {
    43                 if ( ! is_multisite() ) {
    44                         $this->markTestSkipped( 'This test requires Multisite.' );
    45                 }
    46 
    4743                global $locale;
    4844                $old_locale = $locale;
    … …  
    6157         */
    6258        public function test_option_should_be_respected_on_nonmultisite() {
    63                 if ( is_multisite() ) {
    64                         $this->markTestSkipped( 'This test does not apply to Multisite.' );
    65                 }
    66 
    6759                global $locale;
    6860                $old_locale = $locale;
  • trunk/tests/phpunit/tests/l10n/getUserLocale.php

    r54088 r57008  
    6868         */
    6969        public function test_user_locale_is_same_across_network() {
    70                 if ( ! is_multisite() ) {
    71                         $this->markTestSkipped( 'This test requires Multisite.' );
    72                 }
    73 
    7470                $user_locale = get_user_locale();
    7571
Note: See TracChangeset for help on using the changeset viewer.