Changeset 54719 for trunk/tests/phpunit/tests/user/getUserCount.php
- Timestamp:
- 10/29/2022 03:42:26 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/getUserCount.php
r53818 r54719 12 12 */ 13 13 public function test_wp_update_network_counts_on_different_network() { 14 $this->skipWithoutMultisite();15 14 $different_network_id = self::factory()->network->create( 16 15 array( … … 35 34 */ 36 35 public function test_get_user_count_on_different_network() { 37 $this->skipWithoutMultisite();38 36 $different_network_id = self::factory()->network->create( 39 37 array( … … 61 59 */ 62 60 public function test_enable_live_network_user_counts_filter() { 63 $this->skipWithoutMultisite();64 61 // False for large networks by default. 65 62 add_filter( 'enable_live_network_counts', '__return_false' ); … … 103 100 104 101 /** 102 * @ticket 38741 105 103 * @group ms-excluded 106 * @ticket 38741107 104 */ 108 105 public function test_get_user_count_update_on_delete() { 109 $this->skipWithMultisite();110 106 wp_update_user_counts(); 111 107 $current_network_user_count = get_user_count(); … … 125 121 126 122 /** 123 * @ticket 38741 127 124 * @group ms-required 128 * @ticket 38741129 125 */ 130 126 public function test_get_user_count_update_on_delete_multisite() { 131 $this->skipWithoutMultisite();132 127 wp_update_user_counts(); 133 128 $current_network_user_count = get_user_count(); … … 147 142 148 143 /** 144 * @ticket 38741 149 145 * @group multisite 150 146 * @group ms-required 151 * @ticket 38741152 147 */ 153 148 public function test_get_user_count() { 154 $this->skipWithoutMultisite();155 149 // Refresh the cache. 156 150 wp_update_network_counts();
Note: See TracChangeset
for help on using the changeset viewer.