Skip to content
Snippets Groups Projects
Commit 663fecd0 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

fixes to test due to changes in createProfileContact

parent 31edf52e
Branches
Tags
No related merge requests found
......@@ -733,16 +733,16 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
);
//get the common params
$contactParams = $this->contactParams();
$unsetParams = array('location', 'gender_id', 'prefix_id', 'suffix_id', 'privacy');
$unsetParams = array('location', 'privacy');
foreach ($unsetParams as $param) {
unset($contactParams[$param]);
}
$profileParams = array(
'organization_name' => 'Yahoo',
'gender' => '2',
'individual_prefix' => '3',
'individual_suffix' => '2',
'gender_id' => '2',
'prefix_id' => '3',
'suffix_id' => '2',
'city-Primary' => 'Newark',
'contact_type' => 'Individual',
'country-Primary' => '1228',
......@@ -943,9 +943,6 @@ class CRM_Contact_BAO_ContactTest extends CiviUnitTestCase {
$updatePfParams = array(
'organization_name' => 'Google',
'gender' => '1',
'individual_prefix' => '2',
'individual_suffix' => '3',
'city-Primary' => 'Mumbai',
'contact_type' => 'Individual',
'country-Primary' => '1228',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment