From f367360599e5cffa9b30508c7a246f54b2bab13e Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 28 Jul 2022 23:18:51 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20post-p?= =?UTF-8?q?rocessor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../java/com/google/auth/oauth2/PluggableAuthHandler.java | 4 ++-- .../com/google/auth/oauth2/ExecutableResponseTest.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/oauth2_http/java/com/google/auth/oauth2/PluggableAuthHandler.java b/oauth2_http/java/com/google/auth/oauth2/PluggableAuthHandler.java index e7fd8d8d3..6d62d6911 100644 --- a/oauth2_http/java/com/google/auth/oauth2/PluggableAuthHandler.java +++ b/oauth2_http/java/com/google/auth/oauth2/PluggableAuthHandler.java @@ -120,8 +120,8 @@ public String retrieveTokenFromExecutable(ExecutableOptions options) throws IOEx && executableResponse.getExpirationTime() == null) { throw new PluggableAuthException( "INVALID_EXECUTABLE_RESPONSE", - "The executable response must contain the `expiration_time` field for successful responses when an " + - "output_file has been specified in the configuration."); + "The executable response must contain the `expiration_time` field for successful responses when an " + + "output_file has been specified in the configuration."); } // The executable response includes a version. Validate that the version is compatible diff --git a/oauth2_http/javatests/com/google/auth/oauth2/ExecutableResponseTest.java b/oauth2_http/javatests/com/google/auth/oauth2/ExecutableResponseTest.java index 2e3e08249..7c8fec60d 100644 --- a/oauth2_http/javatests/com/google/auth/oauth2/ExecutableResponseTest.java +++ b/oauth2_http/javatests/com/google/auth/oauth2/ExecutableResponseTest.java @@ -112,7 +112,6 @@ void constructor_successSamlResponseMissingExpirationTimeField_notExpired() thro assertNull(response.getExpirationTime()); } - @Test void constructor_validErrorResponse() throws IOException { ExecutableResponse response = new ExecutableResponse(buildErrorResponse());