Changeset 34767 for trunk/tests/phpunit/tests/option/transient.php
- Timestamp:
- 10/02/2015 05:09:03 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/option/transient.php
r33702 r34767 5 5 */ 6 6 class Tests_Option_Transient 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 } 7 15 8 16 function test_the_basics() { … … 43 51 } 44 52 45 if ( wp_using_ext_object_cache() ) {46 $this->markTestSkipped( 'Not testable with an external object cache.' );47 }48 49 53 $key = rand_str(); 50 54 $value = rand_str(); … … 72 76 } 73 77 74 if ( wp_using_ext_object_cache() ) {75 $this->markTestSkipped( 'Not testable with an external object cache.' );76 }77 78 78 $key = rand_str(); 79 79 $value = rand_str(); … … 99 99 */ 100 100 function test_nonexistent_key_dont_delete_if_false() { 101 if ( wp_using_ext_object_cache() ) {102 $this->markTestSkipped( 'Not testable with an external object cache.' );103 }104 105 101 // Create a bogus a transient 106 102 $key = 'test_transient'; … … 133 129 if ( is_multisite() ) { 134 130 $this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING.' ); 135 }136 137 if ( wp_using_ext_object_cache() ) {138 $this->markTestSkipped( 'Not testable with an external object cache.' );139 131 } 140 132
Note: See TracChangeset
for help on using the changeset viewer.