Changeset 31280
- Timestamp:
- 01/25/2015 12:59:00 PM (10 years ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/getPostClass.php
r31271 r31280 51 51 global $wpdb; 52 52 53 if ( is_multisite() ) { 54 $this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING, which causes cache misses.' ); 55 } 56 53 57 register_taxonomy( 'wptests_tax', 'post' ); 54 58 wp_set_post_terms( $this->post_id, array( 'foo', 'bar' ), 'wptests_tax' ); -
trunk/tests/phpunit/tests/term/getTerms.php
r31276 r31280 382 382 public function test_child_of_should_skip_query_when_specified_parent_is_not_found_in_hierarchy_cache() { 383 383 global $wpdb; 384 385 if ( is_multisite() ) { 386 $this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING, which causes cache misses.' ); 387 } 384 388 385 389 register_taxonomy( 'wptests_tax', 'post', array( 'hierarchical' => true, ) ); … … 1204 1208 global $wpdb; 1205 1209 1210 if ( is_multisite() ) { 1211 $this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING, which causes cache misses.' ); 1212 } 1213 1206 1214 register_taxonomy( 'wptests_tax', 'post', array( 'hierarchical' => true, ) ); 1207 1215
Note: See TracChangeset
for help on using the changeset viewer.