Wordpress/tests
Dominik Schilling (ocean90) 877a59a843 Users: Use promote_users for role updates in edit_user().
`edit_user()` can also update user roles but was still using the `edit_users` capability instead of the newer `promote_users` capability introduced in [14176].
This makes the role handling consistent with the bulk dropdown menu for role changes.

Props flixos90, johnjamesjacoby, ocean90.
Fixes #42564.

git-svn-id: https://develop.svn.wordpress.org/trunk@42855 602fd350-edb4-49c9-b593-d223f7449a82
2018-03-19 20:28:28 +00:00
..
phpunit Users: Use promote_users for role updates in edit_user(). 2018-03-19 20:28:28 +00:00
qunit REST API: Update the fixture data for wp-api.js tests following [42359]. 2018-01-22 06:33:02 +00:00