buddypress/tests/phpunit
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
..
assets Overhaul access and visibility control for group tabs 2014-07-12 01:26:36 +00:00
includes s/else if/elseif/ for unit tests. See #6097. 2015-01-08 21:44:45 +00:00
testcases Enforce no_results when getting a 0=1 result from the member type tax query. 2015-03-30 18:44:55 +00:00
bootstrap.php Grunt: move phpUnit tests into new, top-level tests folder. 2014-05-04 12:57:55 +00:00
multisite.xml Grunt: move phpUnit tests into new, top-level tests folder. 2014-05-04 12:57:55 +00:00