WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/01/2021 06:42:49 PM (8 months ago)
Author:
johnbillion
Message:

Build/Test Tools: Remove redundant teardown functionality from individual tests which is already covered in the base teardown method.

See #52625

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/xmlrpc/wp/getUser.php

    r48939 r50463  
    1616            grant_super_admin( $this->administrator_id );
    1717        }
    18     }
    19 
    20     function tearDown() {
    21         if ( is_multisite() ) {
    22             revoke_super_admin( $this->administrator_id );
    23         }
    24         parent::tearDown();
    2518    }
    2619
Note: See TracChangeset for help on using the changeset viewer.