Opened 10 years ago
Closed 10 years ago
#6129 closed defect (bug) (fixed)
Unit tests involving at mentions notifications fails when an activity is updated
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 2.2 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | |
Cc: |
Description
Tests suite in WP < 4.0 does not include the WP_UnitTestCase->_restore_hooks() function.
When updating an activity, the filter bp_activity_at_name_do_notifications
is fired to prevent sending more than one notification. Once we've reached this filter all at_mentions tests are failing so we need to temporarly remove it during these tests
Change History (1)
Note: See
TracTickets for help on using
tickets.
In 9368: