Test clean up. Standardise delete contact calls.
authoreileen <emcnaughton@wikimedia.org>
Wed, 27 Apr 2016 03:38:32 +0000 (15:38 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 27 Apr 2016 05:32:11 +0000 (17:32 +1200)
commit93ac19cd9462a3a83d98c85123c15accfadb9876
tree5d3e151530a6cffdda39db0f9dfde30e89b969fb
parentfa57beb919e727645ccfe8d1bcbf857a2d20c1b9
Test clean up. Standardise delete contact calls.

There are 2 different methods in play for deleting contacts in tests. The one I'm removing uses a non-standard path & sometimes
causes loading issues when run in isolation, as well as being the less used.

Other functions could do with the same treatment.

Some unused vars removed too
18 files changed:
tests/phpunit/CRM/Activity/BAO/ActivityTest.php
tests/phpunit/CRM/Contact/BAO/ContactTest.php
tests/phpunit/CRM/Contribute/BAO/ContributionTest.php
tests/phpunit/CRM/Core/BAO/AddressTest.php
tests/phpunit/CRM/Core/BAO/CustomGroupTest.php
tests/phpunit/CRM/Core/BAO/CustomValueTableMultipleTest.php
tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php
tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php
tests/phpunit/CRM/Core/BAO/EmailTest.php
tests/phpunit/CRM/Core/BAO/IMTest.php
tests/phpunit/CRM/Core/BAO/LocationTest.php
tests/phpunit/CRM/Core/BAO/OpenIDTest.php
tests/phpunit/CRM/Core/BAO/PhoneTest.php
tests/phpunit/CRM/Dedupe/DedupeFinderTest.php
tests/phpunit/CRM/Dedupe/MergerTest.php
tests/phpunit/CRM/Event/BAO/ParticipantTest.php
tests/phpunit/CRM/Member/BAO/MembershipTest.php
tests/phpunit/CiviTest/Contact.php