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/db.php

    r49193 r50463  
    3434                $this->_queries = array();
    3535                add_filter( 'query', array( $this, 'query_filter' ) );
    36         }
    37 
    38         /**
    39          * Tear down the test fixture
    40          */
    41         public function tearDown() {
    42                 remove_filter( 'query', array( $this, 'query_filter' ) );
    43                 parent::tearDown();
    4436        }
    4537
Note: See TracChangeset for help on using the changeset viewer.