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:
Boone Gorges 2016-02-29 22:55:56 +00:00
parent 26a8cbdb44
commit c67a463427
1 changed files with 1 additions and 1 deletions

View File

@ -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(