Extend loadSavedMapping to check defaults
authoreileen <emcnaughton@wikimedia.org>
Sun, 1 Sep 2019 00:05:53 +0000 (12:05 +1200)
committereileen <emcnaughton@wikimedia.org>
Sun, 1 Sep 2019 00:05:53 +0000 (12:05 +1200)
commita37d6c4a847b05942890dfdb907f8045dddf7cd2
treece02d6b3027cfbe140c8aa00f6a143506166002f
parentcd416cae5e3f9b741b0f929c51c80627d9700f9a
Extend loadSavedMapping to check defaults

By using the metadata already available on the function we don't need to use a class param
and can simplify and test
CRM/Contact/Import/Form/MapField.php
tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php