[buddypress-trac] [BuddyPress Trac] #7620: Update shared fixture architecture for WP 4.4+

buddypress-trac noreply at wordpress.org
Fri Nov 3 21:11:53 UTC 2017


#7620: Update shared fixture architecture for WP 4.4+
------------------------------+---------------------
 Reporter:  boonebgorges      |       Owner:  netweb
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |
------------------------------+---------------------

Comment (by boonebgorges):

 In [changeset:"11739"]:
 {{{
 #!CommitTicketReference repository="" revision="11739"
 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.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7620#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list