We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1049d4e commit 294d951Copy full SHA for 294d951
tests/accessibility/pa11y-setup.ts
@@ -12,15 +12,16 @@ import path from 'node:path';
12
// pa11y can't interact with a file upload dialogue, so letters must be seeded
13
const generateLetterTemplateData = (
14
name: string,
15
- owner: string,
+ clientId: string,
16
virusScanStatus: VirusScanStatus,
17
templateStatus: TemplateStatus
18
): LetterTemplate & { owner: string } => {
19
const now = new Date().toISOString();
20
21
return {
22
name,
23
- owner,
+ owner: `CLIENT#${clientId}`,
24
+ clientId,
25
id: randomUUID(),
26
templateType: 'LETTER',
27
letterType: 'x0',
0 commit comments