Make WordPress Core


Ignore:
Timestamp:
10/02/2015 05:09:03 AM (9 years ago)
Author:
wonderboymusic
Message:

Unit Tests: when wp_using_ext_object_cache(), mark some transient tests as skipped.

Props ocean90.
See #31491.

File:
1 edited

Legend:

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

    r25002 r34767  
    55 */
    66class Tests_Option_SiteTransient extends WP_UnitTestCase {
     7
     8    public function setUp() {
     9        parent::setUp();
     10
     11        if ( wp_using_ext_object_cache() ) {
     12            $this->markTestSkipped( 'Not testable with an external object cache.' );
     13        }
     14    }
    715
    816    function test_the_basics() {
Note: See TracChangeset for help on using the changeset viewer.