Replace Maternity with Women's Health (OB/GYN) and configurable service lines.
Deploy Ladill Care / deploy (push) Successful in 26s
Deploy Ladill Care / deploy (push) Successful in 26s
Keeps Fertility as a separate specialty, adds OB/GYN and fertility staff roles, and migrates live org settings from maternity → womens_health. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -447,7 +447,9 @@ class DemoSeedCommandTest extends TestCase
|
||||
$this->assertSame((int) $member->branch_id, (int) $linked->first()->branch_id);
|
||||
|
||||
$modules = app(\App\Services\Care\SpecialtyModuleService::class);
|
||||
$this->assertTrue($modules->isDeskSpecialist($org, $member));
|
||||
// Dedicated specialist roles (dentist) use primary apps, not legacy desk-specialist matching.
|
||||
$this->assertFalse($modules->isDeskSpecialist($org, $member));
|
||||
$this->assertSame(['dentistry'], app(\App\Services\Care\CarePermissions::class)->primaryAppsFor($member));
|
||||
$keys = collect($modules->enabledModulesForMember($org, $member))->pluck('key')->all();
|
||||
$this->assertSame(['dentistry'], $keys);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user