- Timestamp:
- 04/23/2017 09:57:31 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/wpAuthenticateSpamCheck.php
r40520 r40543 10 10 */ 11 11 function test_wp_authenticate_spam_check_returns_user_when_single_site() { 12 if ( is_multisite() ) { 13 $this->markTestSkipped( 'This test applies to single site only.' ); 14 } 12 $this->skipWithMultisite(); 15 13 16 14 $user_id = self::factory()->user->create( array( 'role' => 'contributor' ) ); … … 26 24 */ 27 25 function test_wp_authenticate_spam_check_returns_user_when_not_flagged() { 28 if ( ! is_multisite() ) { 29 $this->markTestSkipped( 'This test applies to multisite only.' ); 30 } 26 $this->skipWithoutMultisite(); 31 27 32 28 $user_id = self::factory()->user->create( array( 'role' => 'contributor' ) ); … … 42 38 */ 43 39 function test_wp_authenticate_spam_check_returns_wp_error_when_flagged() { 44 if ( ! is_multisite() ) { 45 $this->markTestSkipped( 'This test applies to multisite only.' ); 46 } 40 $this->skipWithoutMultisite(); 47 41 48 42 $user_id = self::factory()->user->create( array( 'role' => 'contributor' ) );
Note: See TracChangeset
for help on using the changeset viewer.