Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-cab committed May 9, 2024
1 parent 2a51d9f commit 9fb5360
Showing 1 changed file with 5 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,7 @@ void shouldReturn204ForSuccessfulMfaRequestWhenNonResendCode() throws Json.JsonE
PHONE_NUMBER,
persistentId,
pair("journey-type", JourneyType.SIGN_IN),
pair(
"mfa-type",
MFAMethodType.SMS.getValue())));
pair("mfa-type", MFAMethodType.SMS.getValue())));
}

@Test
Expand Down Expand Up @@ -237,9 +235,7 @@ void shouldReturn204ForSuccessfulMfaRequestWhenResendingCode() throws Json.JsonE
PHONE_NUMBER,
persistentId,
pair("journey-type", JourneyType.SIGN_IN),
pair(
"mfa-type",
MFAMethodType.SMS.getValue())));
pair("mfa-type", MFAMethodType.SMS.getValue())));
}

@Test
Expand Down Expand Up @@ -280,9 +276,7 @@ void shouldReturn204AndAllowMfaRequestDuringUplift() throws Json.JsonException {
PHONE_NUMBER,
PersistentIdHelper.PERSISTENT_ID_UNKNOWN_VALUE,
pair("journey-type", JourneyType.SIGN_IN),
pair(
"mfa-type",
MFAMethodType.SMS.getValue())));
pair("mfa-type", MFAMethodType.SMS.getValue())));
}

@Test
Expand Down Expand Up @@ -359,9 +353,7 @@ void shouldReturn400WhenEmailInSessionDoesNotMatchEmailInRequest() {
AuditService.UNKNOWN,
PersistentIdHelper.PERSISTENT_ID_UNKNOWN_VALUE,
pair("journey-type", JourneyType.SIGN_IN),
pair(
"mfa-type",
MFAMethodType.SMS.getValue())));
pair("mfa-type", MFAMethodType.SMS.getValue())));
}

@Test
Expand Down Expand Up @@ -639,9 +631,7 @@ void shouldReturn204AndNotSendMessageForSuccessfulMfaRequestOnTestClient()
PHONE_NUMBER,
PersistentIdHelper.PERSISTENT_ID_UNKNOWN_VALUE,
pair("journey-type", JourneyType.SIGN_IN),
pair(
"mfa-type",
MFAMethodType.SMS.getValue())));
pair("mfa-type", MFAMethodType.SMS.getValue())));
}

@Test
Expand Down

0 comments on commit 9fb5360

Please sign in to comment.