1
0
Fork 0
mirror of https://github.com/buddypress/buddypress.git synced 2026-07-22 20:56:55 +08:00
buddypress/tests/phpunit/testcases/groups/functions
Boone B Gorges 958bc1eff8 Ensure that shared user fixtures are fully cleaned up.
It's not possible to inherit WP 4.4's user cleanup between tests, because
the the deletion routine runs after the core test suite has unhooked
certain actions (such as BP's that are hooked to `delete_user`). So
we are forced to run necessary cleanup tasks in our own `delete_user()`
method, and ensure that it's this method that is called in every case
where we're cleaning up after statically generated shared fixtures.
Otherwise leftover content in the activity table can leak to other
tests.

See #7620.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@11739 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2017-11-03 21:11:52 +00:00
..
bpGetUserGroups.php Ensure that shared user fixtures are fully cleaned up. 2017-11-03 21:11:52 +00:00
groupsCreateGroup.php Ensure that shared user fixtures are fully cleaned up. 2017-11-03 21:11:52 +00:00
groupsIsUser.php Ensure that shared user fixtures are fully cleaned up. 2017-11-03 21:11:52 +00:00
groupsTotalGroupsForUser.php Use unformatted group count when deciding whether to use the 'no-count' in user nav. 2016-01-08 21:38:46 +00:00