mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
This commit is contained in:
parent
2652d2eb25
commit
a5463b4500
@ -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.' );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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.' );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user