Changeset 47122 for trunk/tests/phpunit/tests/multisite.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/multisite.php
r47013 r47122 31 31 wpmu_log_new_registrations( 1, 1 ); 32 32 33 // currently there is no wrapper function for the registration_log33 // Currently there is no wrapper function for the registration_log. 34 34 $reg_blog = $wpdb->get_col( $wpdb->prepare( "SELECT email FROM {$wpdb->registration_log} WHERE {$wpdb->registration_log}.blog_id = 1 AND IP LIKE %s", $ip ) ); 35 35 $this->assertEquals( $user->user_email, $reg_blog[ count( $reg_blog ) - 1 ] ); … … 40 40 */ 41 41 function test_wp_count_sites() { 42 // create a random number of sites with each status.42 // Create a random number of sites with each status. 43 43 $site_ids = array( 44 44 'public' => self::factory()->blog->create_many( … … 85 85 $counts_by_status 86 86 ); 87 // add 1 to all & public for the main site.87 // Add 1 to all & public for the main site. 88 88 $expected['all'] += 1; 89 89 $expected['public'] += 1;
Note: See TracChangeset
for help on using the changeset viewer.