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 ba3e3df commit b55d115Copy full SHA for b55d115
tests/test-team/helpers/factories/template-api-payload-factory.ts
@@ -4,6 +4,7 @@ import {
4
pdfLetterMultipart,
5
type PdfUploadPartSpec,
6
} from 'nhs-notify-web-template-management-test-helper-utils';
7
+import { randomUUID } from 'node:crypto';
8
9
type TemplatePayload = CreateTemplatePayload | UpdateTemplatePayload;
10
@@ -30,6 +31,8 @@ type TemplateOutput<
30
31
32
const createTemplateBaseData = (templateType: unknown) => ({
33
name: faker.word.noun(),
34
+ clientId: randomUUID(),
35
+ userId: randomUUID(),
36
message: faker.word.words(5),
37
...(templateType === 'EMAIL' && {
38
subject: faker.word.interjection(),
0 commit comments