Skip to content

Commit 92e01ee

Browse files
committed
CCM-11459: remove RoutingDisabled user
1 parent 7f4543a commit 92e01ee

File tree

5 files changed

+4
-28
lines changed

5 files changed

+4
-28
lines changed

tests/test-team/helpers/auth/cognito-auth-helper.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,6 @@ export const testUsers: Record<string, TestUserStaticDetails> = {
110110
userId: 'User8',
111111
clientKey: 'Client6',
112112
},
113-
/**
114-
* RoutingDisabled has routing disabled
115-
*/
116-
RoutingDisabled: {
117-
userId: 'RoutingEnabledUser',
118-
clientKey: 'ClientRoutingDisabled',
119-
},
120113
};
121114

122115
export type TestUser = TestUserStaticDetails &

tests/test-team/helpers/client/client-helper.ts

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export type ClientConfiguration = {
1414
name?: string;
1515
};
1616

17-
export type ClientKey = `Client${1 | 2 | 3 | 4 | 5 | 6 | 'RoutingDisabled'}`;
17+
export type ClientKey = `Client${1 | 2 | 3 | 4 | 5 | 6}`;
1818

1919
type TestClients = Record<ClientKey, ClientConfiguration | undefined>;
2020

@@ -79,17 +79,6 @@ export const testClients = {
7979
routing: false,
8080
},
8181
},
82-
/**
83-
* ClientRoutingDisabled has routing disabled
84-
*/
85-
ClientRoutingDisabled: {
86-
campaignId: 'RoutingDisabled',
87-
name: 'NHS Test Client RoutingDisabled',
88-
features: {
89-
proofing: true,
90-
routing: false,
91-
},
92-
},
9382
} satisfies TestClients;
9483

9584
export class ClientConfigurationHelper {

tests/test-team/template-mgmt-component-tests/email/template-mgmt-preview-email-page.component.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ let routingDisabledUser: TestUser;
2626
async function createTemplates() {
2727
const authHelper = createAuthHelper();
2828
const user = await authHelper.getTestUser(testUsers.User1.userId);
29-
routingDisabledUser = await authHelper.getTestUser(
30-
testUsers.RoutingDisabled.userId
31-
);
29+
routingDisabledUser = await authHelper.getTestUser(testUsers.User3.userId);
3230

3331
return {
3432
empty: {

tests/test-team/template-mgmt-component-tests/nhs-app/template-mgmt-preview-nhs-app-page.component.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ let routingDisabledUser: TestUser;
2626
async function createTemplates() {
2727
const authHelper = createAuthHelper();
2828
const user = await authHelper.getTestUser(testUsers.User1.userId);
29-
routingDisabledUser = await authHelper.getTestUser(
30-
testUsers.RoutingDisabled.userId
31-
);
29+
routingDisabledUser = await authHelper.getTestUser(testUsers.User3.userId);
3230

3331
return {
3432
empty: {

tests/test-team/template-mgmt-component-tests/sms/template-mgmt-preview-sms-page.component.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ let routingDisabledUser: TestUser;
2626
async function createTemplates() {
2727
const authHelper = createAuthHelper();
2828
const user = await authHelper.getTestUser(testUsers.User1.userId);
29-
routingDisabledUser = await authHelper.getTestUser(
30-
testUsers.RoutingDisabled.userId
31-
);
29+
routingDisabledUser = await authHelper.getTestUser(testUsers.User3.userId);
3230

3331
return {
3432
empty: {

0 commit comments

Comments
 (0)