Skip to content

Commit

Permalink
Add UFField to syntaxConformanceTest
Browse files Browse the repository at this point in the history
  • Loading branch information
colemanw committed Apr 22, 2019
1 parent aa9732b commit 79da2aa
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion tests/phpunit/api/v3/SyntaxConformanceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,6 @@ public static function toBeSkipped_updatesingle($sequential = FALSE) {
'Profile',
'CustomValue',
'UFJoin',
'UFField',
'Relationship',
'RelationshipType',
'Note',
Expand Down Expand Up @@ -736,6 +735,27 @@ public function getKnownUnworkablesUpdateSingle($entity, $key) {
'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'],
Expand Down

0 comments on commit 79da2aa

Please sign in to comment.