Make WordPress Core


Ignore:
Timestamp:
11/10/2019 01:53:17 AM (6 years ago)
Author:
SergeyBiryukov
Message:

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

See #43438.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/ajax/PrivacyErasePersonalData.php

    r46644 r46693  
    313313     * Test requests do not succeed on multisite when the current user is not a network admin.
    314314     *
     315     * @ticket 43438
    315316     * @group multisite
    316      *
    317      * @ticket 43438
     317     * @group ms-required
    318318     */
    319319    public function test_error_when_current_user_missing_required_capabilities_multisite() {
    320         if ( ! is_multisite() ) {
    321             $this->markTestSkipped( 'This test only runs on multisite.' );
    322         }
    323 
    324320        revoke_super_admin( get_current_user_id() );
    325321
Note: See TracChangeset for help on using the changeset viewer.