Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 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
Priority: normal Milestone: 2.2
Component: Build/Test Tools Version:
Severity: normal 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)

#1 @imath
12 years ago

  • Owner set to imath
  • Resolutionfixed
  • Status newclosed

In 9368:

Fix at mention notifications unit tests for WordPress < 4.0

Fixes #6129

Note: See TracTickets for help on using tickets.