- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/wpAuthenticateSpamCheck.php
r48937 r52010 9 9 * @group ms-excluded 10 10 */ 11 function test_wp_authenticate_spam_check_returns_user_when_single_site() {11 public function test_wp_authenticate_spam_check_returns_user_when_single_site() { 12 12 $user_id = self::factory()->user->create( array( 'role' => 'contributor' ) ); 13 13 $user = new WP_User( $user_id ); … … 21 21 * @group ms-required 22 22 */ 23 function test_wp_authenticate_spam_check_returns_user_when_not_flagged() {23 public function test_wp_authenticate_spam_check_returns_user_when_not_flagged() { 24 24 $user_id = self::factory()->user->create( array( 'role' => 'contributor' ) ); 25 25 $user = new WP_User( $user_id ); … … 33 33 * @group ms-required 34 34 */ 35 function test_wp_authenticate_spam_check_returns_wp_error_when_flagged() {35 public function test_wp_authenticate_spam_check_returns_wp_error_when_flagged() { 36 36 $user_id = self::factory()->user->create( array( 'role' => 'contributor' ) ); 37 37 wp_update_user(
Note: See TracChangeset
for help on using the changeset viewer.