Changeset 34828 for trunk/tests/phpunit/tests/option/updateOption.php
- Timestamp:
- 10/05/2015 03:05:26 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/option/updateOption.php
r34766 r34828 21 21 */ 22 22 public function test_should_set_autoload_yes_for_nonexistent_option_when_autoload_param_is_missing() { 23 if ( is_multisite() ) {24 $this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING, which causes cache misses.' );25 }26 27 23 global $wpdb; 28 24 $this->flush_cache(); … … 45 41 */ 46 42 public function test_should_set_autoload_yes_for_nonexistent_option_when_autoload_param_is_yes() { 47 if ( is_multisite() ) {48 $this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING, which causes cache misses.' );49 }50 51 43 global $wpdb; 52 44 $this->flush_cache(); … … 69 61 */ 70 62 public function test_should_set_autoload_no_for_nonexistent_option_when_autoload_param_is_no() { 71 if ( is_multisite() ) {72 $this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING, which causes cache misses.' );73 }74 75 63 global $wpdb; 76 64 $this->flush_cache(); … … 94 82 */ 95 83 public function test_should_set_autoload_no_for_nonexistent_option_when_autoload_param_is_false() { 96 if ( is_multisite() ) {97 $this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING, which causes cache misses.' );98 }99 100 84 global $wpdb; 101 85 $this->flush_cache(); … … 119 103 */ 120 104 public function test_autoload_should_be_updated_for_existing_option_when_value_is_changed() { 121 if ( is_multisite() ) {122 $this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING, which causes cache misses.' );123 }124 125 105 global $wpdb; 126 106 add_option( 'foo', 'bar', '', 'no' ); … … 144 124 */ 145 125 public function test_autoload_should_not_be_updated_for_existing_option_when_value_is_unchanged() { 146 if ( is_multisite() ) {147 $this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING, which causes cache misses.' );148 }149 150 126 global $wpdb; 151 127 add_option( 'foo', 'bar', '', 'yes' ); … … 170 146 */ 171 147 public function test_autoload_should_not_be_updated_for_existing_option_when_value_is_changed_but_no_value_of_autoload_is_provided() { 172 if ( is_multisite() ) {173 $this->markTestSkipped( 'Not testable in MS: wpmu_create_blog() defines WP_INSTALLING, which causes cache misses.' );174 }175 176 148 global $wpdb; 177 149 add_option( 'foo', 'bar', '', 'yes' );
Note: See TracChangeset
for help on using the changeset viewer.