fix test regression related to name clash not tested action
authoreileen <eileen@fuzion.co.nz>
Thu, 6 Jun 2013 10:10:58 +0000 (22:10 +1200)
committereileen <eileen@fuzion.co.nz>
Thu, 6 Jun 2013 10:10:58 +0000 (22:10 +1200)
api/v3/examples/Contact/GetFieldsOptions.php
tests/phpunit/api/v3/CustomFieldTest.php

index 3211552d336a04460097d93dd23e784ad08ba7dd..425ebed3abf8bbffcc591d7d0426a79787675881 100644 (file)
@@ -554,7 +554,7 @@ function contact_getfields_expectedresult(){
           'uniqueName' => 'contact_is_deleted',
         ),
       'custom_1' => array(
-          'label' => 'Country',
+          'label' => 'Our special field',
           'groupTitle' => 'select_test_g',
           'data_type' => 'String',
           'html_type' => 'Select',
index 8c2a0dee6dc7d32e2cfcc743170af18614fd8e64..d1931a7dd153f928cd3835c36682e632dc2f9659 100644 (file)
@@ -321,7 +321,7 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
 
     $params = array(
       'custom_group_id' => $customGroup['id'],
-      'label' => 'Country',
+      'label' => 'Our special field',
       'html_type' => 'Select',
       'data_type' => 'String',
       'weight' => 4,