From 30eab4c17d15d688acc039a5974a695386271a9e Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 13 Dec 2018 19:16:19 +1300 Subject: [PATCH] Remove phone_type_id from special handling per review --- CRM/Export/BAO/Export.php | 1 - tests/phpunit/CRM/Export/BAO/ExportTest.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CRM/Export/BAO/Export.php b/CRM/Export/BAO/Export.php index b10d81c33e..147e98acb2 100644 --- a/CRM/Export/BAO/Export.php +++ b/CRM/Export/BAO/Export.php @@ -1018,7 +1018,6 @@ WHERE id IN ( $deleteIDString ) $mappingFields = array( 'civicrm_primary_id' => 'id', 'provider_id' => 'im_service_provider', - 'phone_type_id' => 'phone_type', ); //figure out which columns are to be replaced by which ones diff --git a/tests/phpunit/CRM/Export/BAO/ExportTest.php b/tests/phpunit/CRM/Export/BAO/ExportTest.php index f93a6e0a4b..7f385b9ff2 100644 --- a/tests/phpunit/CRM/Export/BAO/ExportTest.php +++ b/tests/phpunit/CRM/Export/BAO/ExportTest.php @@ -288,7 +288,7 @@ class CRM_Export_BAO_ExportTest extends CiviUnitTestCase { 'membership_id' => $this->membershipIDs[0], )); $this->callAPISuccess('LineItem', 'get', [ - 'entity_table' =>'civicrm_membership', + 'entity_table' => 'civicrm_membership', 'membership_id' => $this->membershipIDs[0], 'api.LineItem.create' => ['contribution_id' => $this->contributionIDs[0]], ]); -- 2.25.1