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
This commit is contained in:
parent
0ab7067286
commit
cc01df2bc8
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user