Use `markTestSkipped()` to skip a multisite-only test.
See #36016. git-svn-id: https://develop.svn.wordpress.org/trunk@36791 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
26a8cbdb44
commit
c67a463427
|
@ -658,7 +658,7 @@ class Tests_User extends WP_UnitTestCase {
|
|||
*/
|
||||
function test_illegal_user_logins_multisite() {
|
||||
if ( ! is_multisite() ) {
|
||||
return;
|
||||
$this->markTestSkipped( __METHOD__ . ' requires multisite.' );
|
||||
}
|
||||
|
||||
$user_data = array(
|
||||
|
|
Loading…
Reference in New Issue