Merge pull request #16469 from civicrm/5.22
[civicrm-core.git] / tests / phpunit / api / v3 / SyntaxConformanceTest.php
index c32ba6e9e11832c4f9d80922412aed8322100298..30c4e9e51b046bcac1e12c8b1396634fa32561b1 100644 (file)
@@ -25,7 +25,8 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
   protected $_apiversion = 3;
 
   /**
-   * @var array e.g. $this->deletes['CRM_Contact_DAO_Contact'][] = $contactID;
+   * @var array
+   * e.g. $this->deletes['CRM_Contact_DAO_Contact'][] = $contactID;
    */
   protected $deletableTestObjects;
 
@@ -647,6 +648,12 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
           'is_primary',
         ],
       ],
+      'FinancialTrxn' => [
+        'cant_update' => [
+          // Altering fee amount will also cause net_amount to be recalculated.
+          'fee_amount',
+        ],
+      ],
       'Navigation' => [
         'cant_update' => [
           // Weight is deliberately altered when this is changed - skip.