From 4f5f00c951b41b39496550dfe47bfdac19157096 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Thu, 5 Mar 2015 14:40:54 +0530 Subject: [PATCH] CRM test fix for deleteContact --- tests/phpunit/CRM/Contact/BAO/ContactTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/CRM/Contact/BAO/ContactTest.php b/tests/phpunit/CRM/Contact/BAO/ContactTest.php index 0191e20d89..3637baae8f 100644 --- a/tests/phpunit/CRM/Contact/BAO/ContactTest.php +++ b/tests/phpunit/CRM/Contact/BAO/ContactTest.php @@ -668,8 +668,8 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase { $contact = CRM_Contact_BAO_Contact::create($contactParams); $contactId = $contact->id; - //delete contact. - CRM_Contact_BAO_Contact::deleteContact($contactId); + //delete contact permanently. + CRM_Contact_BAO_Contact::deleteContact($contactId, FALSE, TRUE); //Now check DB for location elements. //Now check DB for Address -- 2.25.1