Skip to content
Snippets Groups Projects
Commit 79da2aac authored by colemanw's avatar colemanw
Browse files

Add UFField to syntaxConformanceTest

parent aa9732b9
Branches
Tags
No related merge requests found
......@@ -498,7 +498,6 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
'Profile',
'CustomValue',
'UFJoin',
'UFField',
'Relationship',
'RelationshipType',
'Note',
......@@ -736,6 +735,27 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
'ignore_severity',
),
),
'UFField' => array(
'cant_update' => array(
// These fields get auto-adjusted by the BAO prior to saving
'weight',
'location_type_id',
'phone_type_id',
'website_type_id',
// Not a real field
'option.autoweight',
),
'break_return' => array(
// These fields get auto-adjusted by the BAO prior to saving
'weight',
'field_type',
'location_type_id',
'phone_type_id',
'website_type_id',
// Not a real field
'option.autoweight',
),
),
'JobLog' => array(
// For better or worse triggers override.
'break_return' => ['run_time'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment