From 8c1781953c2531e7580e8059281b239ae71d6d58 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 13 Oct 2015 19:30:34 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/pluggable.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/phpunit/tests/pluggable.php b/tests/phpunit/tests/pluggable.php index 2361786660..1e8872d132 100644 --- a/tests/phpunit/tests/pluggable.php +++ b/tests/phpunit/tests/pluggable.php @@ -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 ) );