diff --git a/tests/phpunit/tests/canonical.php b/tests/phpunit/tests/canonical.php index d0e635e033..1a624a374d 100644 --- a/tests/phpunit/tests/canonical.php +++ b/tests/phpunit/tests/canonical.php @@ -22,11 +22,6 @@ class Tests_Canonical extends WP_Canonical_UnitTestCase { wp_set_current_user( self::$author_id ); } - public function tearDown() { - wp_set_current_user( self::$old_current_user ); - parent::tearDown(); - } - /** * @dataProvider data */