Changeset 48044 for trunk/tests/phpunit/tests/multisite/getBlogDetails.php
- Timestamp:
- 06/15/2020 12:29:13 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/multisite/getBlogDetails.php
r47012 r48044 141 141 $site = get_blog_details( array( 'path' => '/foo/' ) ); 142 142 $this->assertFalse( $site ); 143 } 144 145 /** 146 * @ticket 50391 147 */ 148 public function test_get_blog_details_does_not_switch_to_current_blog() { 149 $count = did_action( 'switch_blog' ); 150 151 get_blog_details(); 152 $this->assertSame( $count, did_action( 'switch_blog' ) ); 143 153 } 144 154
Note: See TracChangeset
for help on using the changeset viewer.