Make WordPress Core

Changeset 51870


Ignore:
Timestamp:
09/26/2021 12:12:56 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Tests: Don't skip some Ajax tests on multisite, add them to the ms-excluded group instead.

Follow-up to [46693], [49835].

See #53363.

Location:
trunk/tests/phpunit/tests/ajax
Files:
4 edited

Legend:

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

    r49835 r51870  
    6464    /**
    6565     * @ticket 36578
     66     * @group ms-excluded
    6667     */
    6768    public function test_wp_ajax_send_attachment_to_editor_should_return_a_link() {
    68         $this->skipWithMultisite();
    69 
    7069        // Become an administrator.
    7170        $post    = $_POST;
  • trunk/tests/phpunit/tests/ajax/DeletePlugin.php

    r49835 r51870  
    126126    }
    127127
     128    /**
     129     * @group ms-excluded
     130     */
    128131    public function test_delete_plugin() {
    129         $this->skipWithMultisite();
    130132        $this->_setRole( 'administrator' );
    131133
  • trunk/tests/phpunit/tests/ajax/ManageThemes.php

    r51568 r51870  
    102102    }
    103103
     104    /**
     105     * @group ms-excluded
     106     */
    104107    public function test_update_theme() {
    105         $this->skipWithMultisite();
    106108        $this->_setRole( 'administrator' );
    107109
     
    140142    }
    141143
     144    /**
     145     * @group ms-excluded
     146     */
    142147    function test_uppercase_theme_slug() {
    143         $this->skipWithMultisite();
    144148        $this->_setRole( 'administrator' );
    145149
  • trunk/tests/phpunit/tests/ajax/UpdatePlugin.php

    r49835 r51870  
    130130    }
    131131
     132    /**
     133     * @group ms-excluded
     134     */
    132135    public function test_update_plugin() {
    133         $this->skipWithMultisite();
    134136        $this->_setRole( 'administrator' );
    135137
Note: See TracChangeset for help on using the changeset viewer.