Civi::queue(string $name) - Add facade to load queue by name. Add test.
authorTim Otten <totten@civicrm.org>
Sat, 29 Jan 2022 06:35:30 +0000 (22:35 -0800)
committerTim Otten <totten@civicrm.org>
Tue, 1 Feb 2022 01:15:17 +0000 (17:15 -0800)
commit8b5f2c50270427b32b7e368310f7fc6c8d853c2e
tree97d20b6427d4aaf91a8945d72a77930edac9fbb9
parent26c709564c1e4df78a7269b947d680e314ed3505
Civi::queue(string $name) - Add facade to load queue by name. Add test.

The test includes coverage for a couple flows - eg creating the queue
via traditional `CRM_Queue_Service` or with the newer Civi\Api4\Queue.
Civi.php
tests/phpunit/CRM/Queue/QueueTest.php