Changeset 37223 for trunk/tests/phpunit/tests/option/siteTransient.php
- Timestamp:
- 04/16/2016 07:47:14 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/option/siteTransient.php
r34767 r37223 42 42 $this->assertTrue( delete_site_transient( $key ) ); 43 43 } 44 45 /** 46 * @ticket 22846 47 */ 48 public function test_set_site_transient_is_not_stored_as_autoload_option() { 49 $key = rand_str(); 50 51 if ( is_multisite() ) { 52 $this->markTestSkipped( 'Does not apply when used in multisite.' ); 53 } 54 set_site_transient( $key, 'Not an autoload option' ); 55 56 $options = wp_load_alloptions(); 57 58 $this->assertFalse( isset( $options[ '_site_transient_' . $key ] ) ); 59 } 44 60 }
Note: See TracChangeset
for help on using the changeset viewer.