[NFC] Fix Test function delcaration to match change in CiviUnitTestCase class
authorSeamus Lee <seamuslee001@gmail.com>
Fri, 14 Jun 2019 22:57:01 +0000 (08:57 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Fri, 14 Jun 2019 22:57:01 +0000 (08:57 +1000)
tests/phpunit/CRM/Contact/Import/Form/MapFieldTest.php

index fe9026b59db233df5a3edf11b00b7ae6c02a0ada..933f2d4cf070f0af96ff6ec10a4caa6c4fef900f 100644 (file)
@@ -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();