Make WordPress Core


Ignore:
Timestamp:
03/01/2021 06:42:49 PM (4 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/oembed/controller.php

    r50450 r50463  
    6565        $wp_rest_server = null;
    6666
    67         remove_filter( 'pre_http_request', array( $this, 'mock_embed_request' ), 10 );
    68         remove_filter( 'oembed_result', array( $this, 'filter_oembed_result' ), 10 );
    6967        parent::tearDown();
    7068    }
Note: See TracChangeset for help on using the changeset viewer.