From 1b67a82c7a80af5175c647373842d6f57357e3ee Mon Sep 17 00:00:00 2001 From: Chad Hilton Date: Tue, 31 Oct 2023 11:18:36 -0400 Subject: [PATCH] Update DuoConnectorTest.java Restore exception message format to match the format in the exchangeAuthorizationCodeFor2FAResult_error_code test. --- .../src/test/java/com/duosecurity/service/DuoConnectorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/duo-universal-sdk/src/test/java/com/duosecurity/service/DuoConnectorTest.java b/duo-universal-sdk/src/test/java/com/duosecurity/service/DuoConnectorTest.java index 1666a7f..33c0b2e 100644 --- a/duo-universal-sdk/src/test/java/com/duosecurity/service/DuoConnectorTest.java +++ b/duo-universal-sdk/src/test/java/com/duosecurity/service/DuoConnectorTest.java @@ -125,7 +125,7 @@ void exchangeAuthorizationCodeFor2FAResult_error_code() throws IOException, DuoE "client_assertion_type", "client_assertion"); Assertions.fail(); } catch (DuoException e) { - assertEquals("Response.error()", e.getMessage()); + assertEquals("msg=Response.error(), msg_detail=", e.getMessage()); } }