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() {