From 9fb53603f67cf57c0dd2d1ff8672b7984cc44989 Mon Sep 17 00:00:00 2001 From: Mark Thomas Date: Thu, 9 May 2024 16:10:11 +0100 Subject: [PATCH] update --- .../frontendapi/lambda/MfaHandlerTest.java | 20 +++++-------------- 1 file changed, 5 insertions(+), 15 deletions(-) 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