Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saralk committed Jun 25, 2024
1 parent 6255c00 commit d76a265
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ describe("addMfaAppMethodPost", () => {
endPoint: "endPoint",
mfaIdentifier: 1,
methodVerified: true,
mfaMethodType: "AUTH_APP",
method: {
mfaMethodType: "AUTH_APP",
},
priorityIdentifier: "BACKUP",
},
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,18 @@ describe("change authenticator app controller", () => {
{
mfaIdentifier: 111111,
methodVerified: true,
endPoint: "PHONE",
mfaMethodType: "SMS",
method: {
mfaMethodType: "SMS",
endPoint: "PHONE",
},
priorityIdentifier: "DEFAULT",
},
{
mfaIdentifier: 2,
priorityIdentifier: "BACKUP",
mfaMethodType: "AUTH_APP",
method: {
mfaMethodType: "AUTH_APP",
},
methodVerified: true,
},
];
Expand Down Expand Up @@ -148,14 +152,18 @@ describe("change authenticator app controller", () => {
{
mfaIdentifier: 111111,
methodVerified: true,
endPoint: "PHONE",
mfaMethodType: "SMS",
method: {
endPoint: "PHONE",
mfaMethodType: "SMS",
},
priorityIdentifier: "DEFAULT",
},
{
mfaIdentifier: 2,
priorityIdentifier: "BACKUP",
mfaMethodType: "AUTH_APP",
method: {
mfaMethodType: "AUTH_APP",
},
methodVerified: true,
},
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,10 @@ describe("checkYourPhoneService", () => {
const mfaMethod: MfaMethod = {
mfaIdentifier: 111111,
methodVerified: true,
endPoint: "PHONE",
mfaMethodType: "SMS",
method: {
endPoint: "PHONE",
mfaMethodType: "SMS",
},
priorityIdentifier: "DEFAULT",
};

Expand Down

0 comments on commit d76a265

Please sign in to comment.