Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions packages/plugins/plugin-auth/src/auth-email-locale.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,8 @@ describe("#14641 — an invitation reads the INVITEE's own sys_user.locale", ()
* implied: the auth mail surface is the five `sendTemplate` call sites in
* `auth-manager.ts`, `auth-manager-auth-instance.ts` (the body of
* `createAuthInstance`), `auth-manager-organization-plugin.ts` (the body of
* the organization plugin's factory) and `auth-manager-email-sms-delivery.ts`
* the organization plugin's factory), `auth-manager-plugin-list.ts` (the body
* of `buildPluginList`) and `auth-manager-email-sms-delivery.ts`
* (the body of the change-email notice) — `IEmailService` declares exactly two delivering
* members (`send`, `sendTemplate`), plugin-auth's only `.send(` calls are the
* SMS service's, and no other file under `plugin-auth/src` calls either.
Expand Down Expand Up @@ -1125,8 +1126,9 @@ describe('#15106 — the CLASS claim: all five auth sends read the recipient col

it('every one of the five sends is written in the stored language of its own recipient', async () => {
// ⚠️ POPULATION: the five `sendTemplate` sites in `auth-manager.ts`,
// `auth-manager-auth-instance.ts`, `auth-manager-organization-plugin.ts` and
// `auth-manager-email-sms-delivery.ts` — the same five `driveAllFive` drives and `TEMPLATES` names, and the whole of
// `auth-manager-auth-instance.ts`, `auth-manager-organization-plugin.ts`,
// `auth-manager-plugin-list.ts` and `auth-manager-email-sms-delivery.ts` — the
// same five `driveAllFive` drives and `TEMPLATES` names, and the whole of
// plugin-auth's mail surface (see this section's header). This is the pin
// that closes the class; the per-send pins above only cover one member.
//
Expand Down
Loading
Loading