Make WordPress Core

Changeset 54668


Ignore:
Timestamp:
10/23/2022 12:36:58 PM (20 months ago)
Author:
SergeyBiryukov
Message:

Tests: Make the message for skipping some tests with an external object cache more consistent.

Follow-up to [33702], [34767], [49857], [53821].

See #56793.

Location:
trunk/tests/phpunit/tests/option
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/option/siteTransient.php

    r53865 r54668  
    1010
    1111        if ( wp_using_ext_object_cache() ) {
    12             $this->markTestSkipped( 'Not testable with an external object cache.' );
     12            $this->markTestSkipped( 'This test requires that an external object cache is not in use.' );
    1313        }
    1414    }
  • trunk/tests/phpunit/tests/option/transient.php

    r53865 r54668  
    1010
    1111        if ( wp_using_ext_object_cache() ) {
    12             $this->markTestSkipped( 'Not testable with an external object cache.' );
     12            $this->markTestSkipped( 'This test requires that an external object cache is not in use.' );
    1313        }
    1414    }
Note: See TracChangeset for help on using the changeset viewer.