From c67a4634275e9e9316c2a6530d3f5a58f3b64f26 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Mon, 29 Feb 2016 22:55:56 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/user.php b/tests/phpunit/tests/user.php index a3f21481f7..07ae540425 100644 --- a/tests/phpunit/tests/user.php +++ b/tests/phpunit/tests/user.php @@ -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(