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/image/resize.php

    r49033 r50463  
    1515
    1616        add_filter( 'wp_image_editors', array( $this, 'wp_image_editors' ) );
    17     }
    18 
    19     public function tearDown() {
    20         remove_filter( 'wp_image_editors', array( $this, 'wp_image_editors' ) );
    21 
    22         parent::tearDown();
    2317    }
    2418
Note: See TracChangeset for help on using the changeset viewer.