WordPress.org

Make WordPress Core

Ticket #45931: 45931.diff

File 45931.diff, 1017 bytes (added by desrosj, 19 months ago)
  • tests/phpunit/tests/formatting/redirect.php

     
    1212
    1313        function tearDown() {
    1414                remove_filter( 'home_url', array( $this, 'home_url' ) );
     15                parent::tearDown();
    1516        }
    1617
    1718        function home_url() {
  • tests/phpunit/tests/rest-api/rest-users-controller.php

     
    27362736                update_user_meta( $user->ID, 'my_custom_int', $value );
    27372737        }
    27382738
    2739         public function tearDown() {
    2740                 parent::tearDown();
    2741         }
    2742 
    27432739        protected function check_user_data( $user, $data, $context, $links ) {
    27442740                $this->assertEquals( $user->ID, $data['id'] );
    27452741                $this->assertEquals( $user->display_name, $data['name'] );