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/PrivacyExportPersonalData.php

    r46644 r46693  
    274274     * Test requests do not succeed on multisite when the current user is not a network admin.
    275275     *
     276     * @ticket 43438
    276277     * @group multisite
    277      *
    278      * @ticket 43438
     278     * @group ms-required
    279279     */
    280280    public function test_error_when_current_user_missing_required_capability_multisite() {
    281         if ( ! is_multisite() ) {
    282             $this->markTestSkipped( 'This test only runs on multisite.' );
    283         }
    284 
    285281        revoke_super_admin( get_current_user_id() );
    286282
Note: See TracChangeset for help on using the changeset viewer.