diff --git a/tests/phpunit/includes/abstract-testcase.php b/tests/phpunit/includes/abstract-testcase.php index d45247fa7b8da..2dde7e8b5787c 100644 --- a/tests/phpunit/includes/abstract-testcase.php +++ b/tests/phpunit/includes/abstract-testcase.php @@ -1428,21 +1428,6 @@ public function go_to( $url ) { $GLOBALS['wp']->main( $parts['query'] ); } - /** - * Allows tests to be skipped on single or multisite installs by using @group annotations. - * - * This is a custom extension of the PHPUnit requirements handling. - * - * @since 3.5.0 - * @deprecated 5.9.0 This method has not been functional since PHPUnit 7.0. - */ - protected function checkRequirements() { - // For PHPUnit 5/6, as we're overloading a public PHPUnit native method in those versions. - if ( is_callable( 'PHPUnit\Framework\TestCase', 'checkRequirements' ) ) { - parent::checkRequirements(); - } - } - /** * Skips the current test if there is an open Trac ticket associated with it. *