[NFC] Aim to reduce memory usage in create single value alter test by removing xdebug...
authorSeamus Lee <seamuslee001@gmail.com>
Sun, 6 Sep 2020 23:47:32 +0000 (09:47 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Sun, 6 Sep 2020 23:47:32 +0000 (09:47 +1000)
tests/phpunit/api/v3/SyntaxConformanceTest.php

index 0f0e4003ac0cdf7fbf6d4797d8b8fea85070d3a1..ed7e6a5ae1fdde2ef11c71f1587c1eebab31c800 100644 (file)
@@ -1511,6 +1511,8 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
       foreach ($floatFields as $floatField) {
         $checkEntity[$floatField] = rtrim($checkEntity[$floatField], "0");
       }
+      unset($entity['xdebug']);
+      unset($checkEntity['xdebug']);
       $this->assertAPIArrayComparison($entity, $checkEntity, [], "checking if $fieldName was correctly updated\n" . print_r([
         'update-params' => $updateParams,
         'update-result' => $update,