Make WordPress Core

Changeset 46683


Ignore:
Timestamp:
11/09/2019 03:44:51 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Test: Don't skip the tests intended for single site when running on Multisite, add them to the ms-excluded group instead.

See #39776, #45747.

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

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/admin/includesPlugin.php

    r46674 r46683  
    9999     *
    100100     * @ticket 39776
     101     * @group ms-excluded
    101102     *
    102103     * @covers ::add_management_page
     
    120121        global $submenu;
    121122        global $menu;
    122 
    123         // Skip for multisite.
    124         if ( is_multisite() ) {
    125             $this->markTestSkipped( 'This test is intended for single site.' );
    126         }
    127123
    128124        // Reset menus.
  • trunk/tests/phpunit/tests/user.php

    r46650 r46683  
    577577    /**
    578578     * @ticket 45747
     579     * @group ms-excluded
    579580     */
    580581    function test_wp_update_user_should_not_mark_user_as_spam_on_single_site() {
    581         if ( is_multisite() ) {
    582             $this->markTestSkipped( 'This test is intended for single site.' );
    583         }
    584 
    585582        $u = wp_update_user(
    586583            array(
Note: See TracChangeset for help on using the changeset viewer.