From: Seamus Lee Date: Fri, 14 Jun 2019 22:57:01 +0000 (+1000) Subject: [NFC] Fix Test function delcaration to match change in CiviUnitTestCase class X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2e4ddc6e483c67055c6e8afed9d32205258ec501;p=civicrm-core.git [NFC] Fix Test function delcaration to match change in CiviUnitTestCase class --- diff --git a/tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php b/tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php index fe9026b59d..933f2d4cf0 100644 --- a/tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php +++ b/tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php @@ -129,9 +129,12 @@ class CRM_Contact_Import_Form_MapFieldTest extends CiviUnitTestCase { * Instantiate form object * * @param string $class + * @param array $formValues + * @param string $pageName * @return \CRM_Core_Form + * @throws \CRM_Core_Exception */ - public function getFormObject($class) { + public function getFormObject($class, $formValues = [], $pageName = '') { $form = parent::getFormObject($class); $contactFields = CRM_Contact_BAO_Contact::importableFields(); $fields = array();