Skip the pluggable function signature tests when an external object cache is in use.

See #31491


git-svn-id: https://develop.svn.wordpress.org/trunk@35146 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2015-10-13 19:30:34 +00:00
parent 9d23a7ff96
commit 8c1781953c
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@ class Tests_Pluggable extends WP_UnitTestCase {
*/
public function testPluggableFunctionSignaturesMatch( $function ) {
if ( wp_using_ext_object_cache() ) {
// #31491
$this->markTestSkipped( 'Pluggable function signatures are not tested when an external object cache is in use.' );
}
$signatures = $this->getPluggableFunctionSignatures();
$this->assertTrue( function_exists( $function ) );