Afform - Fix "Existing" autocomplete field and add tests
authorColeman Watts <coleman@civicrm.org>
Sun, 18 Sep 2022 15:36:55 +0000 (11:36 -0400)
committerColeman Watts <coleman@civicrm.org>
Sun, 18 Sep 2022 15:38:31 +0000 (11:38 -0400)
commit0464c24e430a04b793fd9e1fe57180513b9fa6d6
tree8529d06b27d6c99ab205611f044e15a182312206
parent585603f352623ca32941ddc3dc1687ad72658f2b
Afform - Fix "Existing" autocomplete field and add tests

Followup to #24165 which regressed when the action was changed.
Locks in the fix with unit tests.
ext/afform/admin/Civi/AfformAdmin/AfformAdminMeta.php
ext/afform/core/Civi/Api4/Action/Afform/AbstractProcessor.php
ext/afform/core/tests/phpunit/Civi/Afform/AfformGetFieldsTest.php [deleted file]
ext/afform/core/tests/phpunit/Civi/Afform/AfformMetadataTest.php [new file with mode: 0644]
ext/afform/mock/tests/phpunit/api/v4/AfformAutocompleteUsageTest.php [new file with mode: 0644]