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
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 9368: