From 135198d66d05e2dbbcb2c1a68de63f157f70eafc Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Wed, 11 Sep 2013 17:55:12 +0000 Subject: [PATCH] Use `get_users()` instead of the deprecated `get_users_of_blog()` in `Tests_User_Capabilities::setUp()` to avoid a tornado of warnings in debug mode. See #25282. git-svn-id: https://develop.svn.wordpress.org/trunk@25353 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/user/capabilities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/user/capabilities.php b/tests/phpunit/tests/user/capabilities.php index d8f1a08698..e67d2d8951 100644 --- a/tests/phpunit/tests/user/capabilities.php +++ b/tests/phpunit/tests/user/capabilities.php @@ -14,7 +14,7 @@ class Tests_User_Capabilities extends WP_UnitTestCase { // keep track of users we create $this->_flush_roles(); - $this->orig_users = get_users_of_blog(); + $this->orig_users = get_users(); } function _flush_roles() {