buddypress/tests
Mathieu Viet c447dc2c04 Insert a new "since" filter for the activity stream to be used by HeartBeat check feature
In rare cases, the field date_recorded of the activity table can be updated to a date greater than the most recent activity in terms of id.
The Heartbeat feature was based on the id field so far, while the activity stream is sorting items according to the date_recorded field. As a result, in this very particular case, activities with an id greater than the activity (which date has been updated) will be loaded again in the stream and this until a new activity is published.
To prevent this to happen, we introduce this new "since" filter to be used by the HeartBeat feature once it gets the timestamp of the most recent activity displayed in the stream.

props SGr33n, boonebgorges, imath

Fixes #5505

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8251 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2014-04-08 06:55:30 +00:00
..
assets Strict standards compliance in unit test group extensions 2013-11-02 02:13:59 +00:00
includes Generate activity actions dynamically, instead of using static values stored in the database 2014-03-13 18:34:06 +00:00
testcases Insert a new "since" filter for the activity stream to be used by HeartBeat check feature 2014-04-08 06:55:30 +00:00
bootstrap.php In test suite, break constant definitions into separate file 2013-12-12 20:48:46 +00:00
multisite.xml Add support for multisite.xml unit tests 2013-05-09 01:05:45 +00:00
phpunit.xml.dist Tests: rename PHPUnit config file to phpunit.xml.dist 2014-03-09 19:43:03 +00:00