CRM-15168 open up test to include a few more entities
authorEileen McNaughton <eileen@fuzion.co.nz>
Fri, 22 Aug 2014 23:35:55 +0000 (11:35 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Fri, 22 Aug 2014 23:35:55 +0000 (11:35 +1200)
api/v3/UFField.php
tests/phpunit/api/v3/SyntaxConformanceTest.php

index 2e9cf6794462ad5eacaa7191717a023bd4cafc5e..d0beca46fabbe0537581edf48f4d0d47c2ec8461 100644 (file)
@@ -123,6 +123,7 @@ function _civicrm_api3_uf_field_create_spec(&$params) {
     'api.default' => TRUE,
   );
   $params['created_id']['api.default'] = 'user_contact_id';
+  $params['created_id']['title']  = 'Created By';
   $params['is_active']['api.default'] = TRUE;
 }
 
index 71f90e5b7f217391cec788d062d38e6771a2a9da..f782ebdceedff796ccae563b3e6bb37156777fd7 100644 (file)
@@ -263,9 +263,8 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
    * @todo add metadata for ALL these entities
    */
   public static function toBeSkipped_getfields($sequential = FALSE) {
-    $entitiesWithMetadataNotYetFixed = array('Acl', 'AclRole', 'ActionSchedule', 'ActivityType',
-      'ContributionPage',
-      'ContactType', 'ContributionSoft', 'Country', 'CustomField', 'CustomGroup', 'CustomValue','CustomSearch',
+    $entitiesWithMetadataNotYetFixed = array('ActionSchedule', 'ActivityType',
+      'ContactType', 'ContributionSoft', 'CustomField', 'CustomGroup', 'CustomValue','CustomSearch',
       'Domain',
       'Dashboard', 'DashboardContact', 'Extension', 'File', 'FinancialAccount', 'FinancialType',
       'GroupOrganization', 'GroupNesting',