ConformanceTest::checkDeletionAllowed - Coverage for `hook_pre`. Fix `Contact`.
authorTim Otten <totten@civicrm.org>
Fri, 3 Dec 2021 00:26:28 +0000 (16:26 -0800)
committerTim Otten <totten@civicrm.org>
Fri, 3 Dec 2021 00:26:28 +0000 (16:26 -0800)
commit3b1de011c76ab44aa0f1593d33c7e35da9cab993
tree2658fcc2ec10e6e2d6f9b9db9c30a4bd193fb7ea
parentd252c06543d5c64c99e0c3b4fb79259d47175277
ConformanceTest::checkDeletionAllowed - Coverage for `hook_pre`. Fix `Contact`.

1. Expand assertions used for `hook_post` to check `hook_pre`.

2. Recognize the quirks in how `Contact` records are treated in the hooks.
tests/phpunit/api/v4/Entity/ConformanceTest.php