Add test cover for Member_BAO_Query auto_renew field
authoreileen <emcnaughton@wikimedia.org>
Sat, 3 Aug 2019 01:46:15 +0000 (13:46 +1200)
committereileen <emcnaughton@wikimedia.org>
Sun, 4 Aug 2019 18:10:22 +0000 (06:10 +1200)
commitf03241bece66a2c2fd105e8b3d507f3840c62879
tree237c90d489dbb2cfccf6182d8dcd6d4e8456f8c6
parent6c71cee9ef1b0cf2760b55550292277daa0a5881
Add test cover for Member_BAO_Query auto_renew field

This adds test coverage to demonstrate that the auto_renew field in the Member_BAO_Query::defaultReturnProperties
achieves nothing.

auto_renew is NOT returned for the export - regardless of it's presence. It IS returned for getRows
but tha is calculated there now in the query object.

Once this is merged I will put up the commit to remove auto_renew from defaultReturnProperties
tests/phpunit/CRM/Export/BAO/ExportTest.php
tests/phpunit/CRM/Member/Selector/SearchTest.php [new file with mode: 0644]
tests/phpunit/CiviTest/CiviUnitTestCase.php