Strip healthcare packaging and Care integration from Queue.
Deploy Ladill Queue / deploy (push) Successful in 3m12s

Queue is general-purpose QMS only; Care runs its own native engine.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-18 10:15:32 +00:00
co-authored by Cursor
parent b5ffa499b9
commit b208e59bd0
16 changed files with 123 additions and 501 deletions
+8 -8
View File
@@ -39,7 +39,7 @@ class ServicePointRoutingTest extends TestCase
]);
$org = app(OrganizationResolver::class)->completeOnboarding($user, [
'organization_name' => 'Clinic',
'industry' => 'healthcare',
'industry' => 'banking',
'appointment_mode' => 'hybrid',
'branch_name' => 'Main',
'timezone' => 'UTC',
@@ -354,18 +354,18 @@ class ServicePointRoutingTest extends TestCase
$this->assertSame($third->id, $engine->waitingTickets($queue)[0]->id);
}
public function test_care_api_can_issue_assigned_ticket(): void
public function test_frontdesk_api_can_issue_assigned_ticket(): void
{
config(['qms.service_api_keys.care' => 'test-care-key']);
$owner = 'care-sp-owner';
config(['qms.service_api_keys.frontdesk' => 'test-frontdesk-key']);
$owner = 'frontdesk-sp-owner';
$headers = [
'Authorization' => 'Bearer test-care-key',
'Authorization' => 'Bearer test-frontdesk-key',
'Accept' => 'application/json',
];
$this->postJson('/api/v1/integrations/provision', [
'owner' => $owner,
'organization_name' => 'Care Clinic',
'organization_name' => 'Visitor Desk',
'branch_name' => 'Main',
], $headers)->assertSuccessful();
@@ -374,7 +374,7 @@ class ServicePointRoutingTest extends TestCase
'name' => 'Consultation',
'prefix' => 'C',
'branch_name' => 'Main',
'external_key' => 'care:dept:consultation:queue:1',
'external_key' => 'frontdesk:dept:consultation:queue:1',
'routing_mode' => 'assigned_only',
], $headers)->assertCreated()->json('data.uuid');
@@ -385,7 +385,7 @@ class ServicePointRoutingTest extends TestCase
'staff_display_name' => 'Dr. Mensah',
'branch_name' => 'Main',
'queue_uuids' => [$queueUuid],
'external_key' => 'care:point:consultation:practitioner:9',
'external_key' => 'frontdesk:point:consultation:practitioner:9',
], $headers)->assertCreated()->json('data.uuid');
$this->postJson('/api/v1/tickets', [