File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
tests/test-team/helpers/factories Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ export const TemplateFactory = {
1111 id,
1212 owner,
1313 name,
14+ clientId : randomUUID ( ) ,
15+ userId : randomUUID ( ) ,
1416 templateType : 'EMAIL' ,
1517 message : 'test-message' ,
1618 subject : 'test-subject' ,
@@ -22,6 +24,8 @@ export const TemplateFactory = {
2224 id,
2325 owner,
2426 name : 'test' ,
27+ clientId : randomUUID ( ) ,
28+ userId : randomUUID ( ) ,
2529 templateType : 'SMS' ,
2630 message : 'test-message' ,
2731 } ) ;
@@ -32,6 +36,8 @@ export const TemplateFactory = {
3236 id,
3337 owner,
3438 name : 'test-name' ,
39+ clientId : randomUUID ( ) ,
40+ userId : randomUUID ( ) ,
3541 templateType : 'NHS_APP' ,
3642 message : 'test-message' ,
3743 } ) ;
@@ -48,6 +54,8 @@ export const TemplateFactory = {
4854 id,
4955 owner,
5056 name,
57+ clientId : randomUUID ( ) ,
58+ userId : randomUUID ( ) ,
5159 templateStatus,
5260 templateType : 'LETTER' ,
5361 letterType : 'x0' ,
@@ -77,6 +85,8 @@ export const TemplateFactory = {
7785 }
7886 ) : Template => {
7987 return {
88+ clientId : randomUUID ( ) ,
89+ userId : randomUUID ( ) ,
8090 templateStatus : 'NOT_YET_SUBMITTED' ,
8191 version : 1 ,
8292 createdAt : new Date ( ) . toISOString ( ) ,
You can’t perform that action at this time.
0 commit comments