Make WordPress Core


Ignore:
Timestamp:
03/01/2021 06:42:49 PM (6 years 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/import/import.php

    r48937 r50463  
    3232                        $wpdb->query( "DELETE FROM {$wpdb->$table}" );
    3333                }
    34         }
    35 
    36         function tearDown() {
    37                 remove_filter( 'import_allow_create_users', '__return_true' );
    38 
    39                 parent::tearDown();
    4034        }
    4135
Note: See TracChangeset for help on using the changeset viewer.