From: Adam Roses Wight Date: Mon, 6 May 2013 23:05:03 +0000 (-0700) Subject: fix unit test by... using deprecated param name :p X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e39729e11c4f251afa43fb62aed0589cb5ee3c4e;p=civicrm-core.git fix unit test by... using deprecated param name :p --- diff --git a/tests/phpunit/CRM/Core/BAO/CustomFieldTest.php b/tests/phpunit/CRM/Core/BAO/CustomFieldTest.php index 9359e30843..ab66a26539 100644 --- a/tests/phpunit/CRM/Core/BAO/CustomFieldTest.php +++ b/tests/phpunit/CRM/Core/BAO/CustomFieldTest.php @@ -132,8 +132,8 @@ class CRM_Core_BAO_CustomFieldTest extends CiviUnitTestCase { function testDeleteCustomfield() { $customGroup = Custom::createGroup(array(), 'Individual'); $fields = array( + 'groupId' => $customGroup->id, 'label' => 'Throwaway Field', - 'custom_group_id' => $customGroup->id, 'data_type' => 'Memo', 'html_type' => 'TextArea', );