Skip to content

Commit 2fdaf8b

Browse files
CM-11976: Fix tests
1 parent 5278f3f commit 2fdaf8b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test-team/template-mgmt-event-tests/routing-config.event.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ test.describe('Event publishing - Routing Config', () => {
7878
type: 'uk.nhs.notify.template-management.RoutingConfigDrafted.v1',
7979
data: expect.objectContaining({
8080
id,
81-
templateStatus: 'DRAFT',
81+
status: 'DRAFT',
8282
}),
8383
})
8484
);
@@ -88,7 +88,7 @@ test.describe('Event publishing - Routing Config', () => {
8888
type: 'uk.nhs.notify.template-management.RoutingConfigDeleted.v1',
8989
data: expect.objectContaining({
9090
id,
91-
templateStatus: 'DELETED',
91+
status: 'DELETED',
9292
}),
9393
})
9494
);
@@ -152,7 +152,7 @@ test.describe('Event publishing - Routing Config', () => {
152152
type: 'uk.nhs.notify.template-management.RoutingConfigDrafted.v1',
153153
data: expect.objectContaining({
154154
id,
155-
templateStatus: 'DRAFT',
155+
status: 'DRAFT',
156156
}),
157157
})
158158
);
@@ -162,7 +162,7 @@ test.describe('Event publishing - Routing Config', () => {
162162
type: 'uk.nhs.notify.template-management.RoutingConfigCompleted.v1',
163163
data: expect.objectContaining({
164164
id,
165-
templateStatus: 'COMPLETED',
165+
status: 'COMPLETED',
166166
}),
167167
})
168168
);

0 commit comments

Comments
 (0)