From a5463b4500a183373476c66d88639d8890f9bd3f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 23 Oct 2022 12:36:58 +0000 Subject: [PATCH] Tests: Make the message for skipping some tests with an external object cache more consistent. Follow-up to [33702], [34767], [49857], [53821]. See #56793. git-svn-id: https://develop.svn.wordpress.org/trunk@54668 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/option/siteTransient.php | 2 +- tests/phpunit/tests/option/transient.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/option/siteTransient.php b/tests/phpunit/tests/option/siteTransient.php index 774fc4a20a..4c9c9a15b7 100644 --- a/tests/phpunit/tests/option/siteTransient.php +++ b/tests/phpunit/tests/option/siteTransient.php @@ -9,7 +9,7 @@ class Tests_Option_SiteTransient extends WP_UnitTestCase { parent::set_up(); if ( wp_using_ext_object_cache() ) { - $this->markTestSkipped( 'Not testable with an external object cache.' ); + $this->markTestSkipped( 'This test requires that an external object cache is not in use.' ); } } diff --git a/tests/phpunit/tests/option/transient.php b/tests/phpunit/tests/option/transient.php index cf10eaed1b..6c6ba4e2da 100644 --- a/tests/phpunit/tests/option/transient.php +++ b/tests/phpunit/tests/option/transient.php @@ -9,7 +9,7 @@ class Tests_Option_Transient extends WP_UnitTestCase { parent::set_up(); if ( wp_using_ext_object_cache() ) { - $this->markTestSkipped( 'Not testable with an external object cache.' ); + $this->markTestSkipped( 'This test requires that an external object cache is not in use.' ); } }