From: Seamus Lee Date: Sun, 6 Sep 2020 23:47:32 +0000 (+1000) Subject: [NFC] Aim to reduce memory usage in create single value alter test by removing xdebug... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1b2de78e187d2fcdf540b12de05ce30ac5848603;p=civicrm-core.git [NFC] Aim to reduce memory usage in create single value alter test by removing xdebug items from comparaison --- diff --git a/tests/phpunit/api/v3/SyntaxConformanceTest.php b/tests/phpunit/api/v3/SyntaxConformanceTest.php index 0f0e4003ac..ed7e6a5ae1 100644 --- a/tests/phpunit/api/v3/SyntaxConformanceTest.php +++ b/tests/phpunit/api/v3/SyntaxConformanceTest.php @@ -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,