Make WordPress Core

Changeset 44584


Ignore:
Timestamp:
01/14/2019 09:33:56 PM (8 years ago)
Author:
desrosj
Message:

Tests: Add missing parent::tearDown().

Also, remove a tearDown() method that was not serving any purpose.

Fixes #45931.

Location:
trunk/tests/phpunit/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/formatting/redirect.php

    r44577 r44584  
    1414        function tearDown() {
    1515                remove_filter( 'home_url', array( $this, 'home_url' ) );
     16                parent::tearDown();
    1617        }
    1718
  • trunk/tests/phpunit/tests/rest-api/rest-users-controller.php

    r44126 r44584  
    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'] );
Note: See TracChangeset for help on using the changeset viewer.