Skip to content

Commit

Permalink
Tests: Make the message for skipping some tests with an external obje…
Browse files Browse the repository at this point in the history
…ct 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
  • Loading branch information
SergeyBiryukov committed Oct 23, 2022
1 parent 2652d2e commit a5463b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/phpunit/tests/option/siteTransient.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public function set_up() {
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.' );
}
}

Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/tests/option/transient.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public function set_up() {
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.' );
}
}

Expand Down

0 comments on commit a5463b4

Please sign in to comment.