[wp-trac] [WordPress Trac] #29996: Improve tests for get_blogs_of_user()
WordPress Trac
noreply at wordpress.org
Thu Oct 16 05:31:44 UTC 2014
#29996: Improve tests for get_blogs_of_user()
-------------------------+-----------------
Reporter: jeremyfelt | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.1
Component: Users | Version:
Severity: normal | Keywords:
Focuses: multisite |
-------------------------+-----------------
Our current multisite test for `get_blogs_of_user()` creates a user and 10
new sites, removes the user from the primary site on the network, and then
tests to see if the user is still a member of those 10 sites. It also
duplicates some of the efforts of our single site test, which handles the
multisite case for a deleted user.
We can expand coverage a bit in `get_blogs_of_user()` and gain some speed
/ reduce duplicity.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29996>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list