From a200bc65f3d0511142fa0cc6e4681ad6f9ff125e Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 23 Aug 2014 11:35:55 +1200 Subject: [PATCH] CRM-15168 open up test to include a few more entities --- api/v3/UFField.php | 1 + tests/phpunit/api/v3/SyntaxConformanceTest.php | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/v3/UFField.php b/api/v3/UFField.php index 2e9cf67944..d0beca46fa 100644 --- a/api/v3/UFField.php +++ b/api/v3/UFField.php @@ -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; } diff --git a/tests/phpunit/api/v3/SyntaxConformanceTest.php b/tests/phpunit/api/v3/SyntaxConformanceTest.php index 71f90e5b7f..f782ebdcee 100644 --- a/tests/phpunit/api/v3/SyntaxConformanceTest.php +++ b/tests/phpunit/api/v3/SyntaxConformanceTest.php @@ -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', -- 2.25.1