FinancialItem - Provide defaults so that stricter ConformanceTest will pas
authorTim Otten <totten@civicrm.org>
Fri, 4 Jun 2021 03:13:48 +0000 (20:13 -0700)
committerTim Otten <totten@civicrm.org>
Mon, 7 Jun 2021 03:18:52 +0000 (20:18 -0700)
commit3f0340c8e9fe79987f76ff4e67a78a83db2d34b4
tree9507244b12fca4131f61d738b8e8851a1d110a6b
parent61e8985d11e888fd6a1a2ebc2e32bc8348c44e9f
FinancialItem - Provide defaults so that stricter ConformanceTest will pas

Context: There were three separate, concurrent PRs - two added more tests
and events to APIv4, and the third added a new entity (FinancialItem).
FinancialItem got merged first.  I'm working reconciling the other two...
and discovered that `FinancialItem` isn't passing.

Problem: When the `ConformanceTest` creates a `FinancialItem`, it doesn't
fill in valid values for `entity_table,entity_id`. These values are
important to the access-control criteria used in reading-back data.
Civi/Api4/Service/Spec/Provider/FinancialItemCreationSpecProvider.php [new file with mode: 0644]
tests/phpunit/api/v4/Service/TestCreationParameterProvider.php