buddypress/tests/phpunit/testcases
Boone B Gorges b8216aa5a9 Enforce no_results when getting a 0=1 result from the member type tax query.
When passing a 'member_type' to `BP_User_Query` and no users belong to the
member type, the `WP_Tax_Query` transformation will return a '0 = 1' clause to
indicate that no results were found. We should respect this result, so that no
members are returned for this kind of query.

Fixes #6334 for the 2.2 branch.

git-svn-id: https://buddypress.svn.wordpress.org/branches/2.2@9663 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2015-03-30 18:44:55 +00:00
..
activity Activity: In the 'just-me' scope, use the correct user ID variable. 2015-02-11 21:38:40 +00:00
admin bp_core_get_directory_page_ids() should skip bp_is_active() check in save context. 2015-03-10 15:24:04 +00:00
blogs Add pagination group to recent unit test additions related to pagination argument sanitization. See #5796. 2015-01-29 16:51:38 +00:00
core Enforce no_results when getting a 0=1 result from the member type tax query. 2015-03-30 18:44:55 +00:00
friends Only create a single activity when a friendship is created and make sure to display it on each involved user personal activities. 2015-01-09 08:56:45 +00:00
groups Add pagination group to recent unit test additions related to pagination argument sanitization. See #5796. 2015-01-29 16:51:38 +00:00
members Use 'bp_member_member_type' as the member type cache bucket name. 2015-02-23 01:39:52 +00:00
messages Add pagination group to recent unit test additions related to pagination argument sanitization. See #5796. 2015-01-29 16:51:38 +00:00
notifications Notifications: Ensure pagination works with $_GET parameters. 2015-03-01 13:36:46 +00:00
routing Unit tests: move tests around so that the top-level tests directory has a folder for each BP component. 2015-01-15 21:17:09 +00:00
xprofile XProfile data cache group updates: 2015-01-09 20:38:37 +00:00