From cc01df2bc81066679b479888904065f3c7212973 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 2 Jun 2017 14:10:56 +0000 Subject: [PATCH] Build/Test Tools: I don't know how this happened. See #39822 git-svn-id: https://develop.svn.wordpress.org/trunk@40873 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/includes/testcase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/includes/testcase.php b/tests/phpunit/includes/testcase.php index 888bb5bb71..b2263ec9c6 100644 --- a/tests/phpunit/includes/testcase.php +++ b/tests/phpunit/includes/testcase.php @@ -451,7 +451,7 @@ class WP_UnitTestCase extends PHPUnit_Framework_TestCase { * @param int|string $code */ public function setExpectedException( $exception, $message = '', $code = null ) { - if ( method_exists( 'PHPUnit_Framework_TestCase::setExpectedException' ) ) { + if ( method_exists( 'PHPUnit_Framework_TestCase', 'setExpectedException' ) ) { parent::setExpectedException( $exception, $message, $code ); } else { $this->expectException( $exception );