diff --git a/frontend-api/src/test/java/uk/gov/di/authentication/frontendapi/lambda/MfaHandlerTest.java b/frontend-api/src/test/java/uk/gov/di/authentication/frontendapi/lambda/MfaHandlerTest.java index 17c2a6554e..8a67abbf9d 100644 --- a/frontend-api/src/test/java/uk/gov/di/authentication/frontendapi/lambda/MfaHandlerTest.java +++ b/frontend-api/src/test/java/uk/gov/di/authentication/frontendapi/lambda/MfaHandlerTest.java @@ -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 @@ -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 @@ -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 @@ -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 @@ -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