[buddypress-trac] [BuddyPress Trac] #6129: Unit tests involving at mentions notifications fails when an activity is updated
buddypress-trac
noreply at wordpress.org
Sat Jan 17 03:22:26 UTC 2015
#6129: Unit tests involving at mentions notifications fails when an activity is
updated
--------------------------+-----------------
Reporter: imath | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.2
Component: Unit Tests | Version:
Severity: normal | Keywords:
--------------------------+-----------------
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
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6129>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list