From 7b1b7f86877cec34c56acf52edc603502aaa9886 Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 22 Aug 2019 14:10:02 +1200 Subject: [PATCH] Add test cover for js for an im provider mapping --- tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php b/tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php index 854638ddef..584e27a7d4 100644 --- a/tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php +++ b/tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php @@ -293,6 +293,10 @@ document.forms.MapField['mapper[1][3]'].style.display = 'none';\n", ['name' => 'Phone', 'contact_type' => 'Individual', 'column_number' => 8, 'phone_type_id' => 1, 'location_type_id' => 2], "document.forms.MapField['mapper[8][3]'].style.display = 'none';\n", ], + [ + ['name' => 'Phone', 'contact_type' => 'Individual', 'column_number' => 0, 'im_provider_id' => 1, 'location_type_id' => 2], + "document.forms.MapField['mapper[0][3]'].style.display = 'none';\n", + ], ]; } -- 2.25.1