[REF] minor code simplification. Test where handling for gender_id etc
authoreileen <emcnaughton@wikimedia.org>
Sat, 30 Nov 2019 00:16:19 +0000 (13:16 +1300)
committereileen <emcnaughton@wikimedia.org>
Sun, 1 Dec 2019 05:34:04 +0000 (18:34 +1300)
commit9724097ecd5411e41b9634aff4fa87f100e8b08b
tree4f4a75adb20914ea2e308ebd8e08b0bdc56e5f97
parentd64bc8fec7ce990ac21f54420c0e34c05b9f9376
[REF] minor code simplification. Test where handling for gender_id etc

Add test & reduce special handling for gender_id, suffix_id, prefix_id, communication_style_id
CRM/Contact/BAO/Query.php
tests/phpunit/CRM/Contact/BAO/QueryTest.php
tests/phpunit/CRM/Mailing/BaseMailingSystemTest.php