fix(care): use clinic name as email From display, not Ladill Care
Deploy Ladill Care / deploy (push) Successful in 28s
Deploy Ladill Care / deploy (push) Successful in 28s
Patient-facing suite (and Bird fallback) emails should appear from the organization name. Stop defaulting from_name to CARE_SMTP_FROM_NAME. Appointment notifications also prefer suite messaging with the same rule.
This commit is contained in:
@@ -102,7 +102,8 @@ class CareSuiteMessagingTest extends TestCase
|
||||
Http::assertSent(function ($request) {
|
||||
return str_contains($request->url(), '/messages/send')
|
||||
&& ($request['channel'] ?? null) === 'suite'
|
||||
&& ($request['user'] ?? null) === $this->user->public_id;
|
||||
&& ($request['user'] ?? null) === $this->user->public_id
|
||||
&& ($request['from_name'] ?? null) === 'Suite Clinic';
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user