civicrm / cv

CiviCRM CLI Utility
28 stars 30 forks source link

BootTrait - Update ensureUserContact() for standalone #163

Closed totten closed 1 year ago

totten commented 1 year ago

This is a partial solution for running E2E_Extern_CliRunnerTest::testPermissionLookup() on Standalone. The test calls:

cv ev --user='admin' 'echo json_encode(CRM_Core_Config::singleton()->userPermissionClass->check("administer CiviCRM", 0));'

For a full solution to running E2E_Extern_CliRunnerTest::testPermissionLookup(), this needs a corresponding update for civicrm-core.

totten commented 1 year ago

Test failure is unrelated/pre-existing (interaction between specific revisions of Civi/D9).