Skip to:

Opened 9 years ago

Closed 9 years ago

#6129 closed defect (bug) (fixed)

Unit tests involving at mentions notifications fails when an activity is updated

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 2.2 Priority: normal
Severity: normal Version:
Component: Build/Test Tools 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

Change History (1)

#1 @imath
9 years ago

  • Owner set to imath
  • Resolution set to fixed
  • Status changed from new to closed

In 9368:

Fix at mention notifications unit tests for WordPress < 4.0

Fixes #6129

Note: See TracTickets for help on using tickets.