From c06c89674b573b2ce1a9bc4c1c50c58466670011 Mon Sep 17 00:00:00 2001 From: Sai Sunder Srinivasan Date: Fri, 4 Nov 2022 17:54:06 +0000 Subject: [PATCH] fix external account tests --- .../google/auth/oauth2/ExternalAccountCredentialsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oauth2_http/javatests/com/google/auth/oauth2/ExternalAccountCredentialsTest.java b/oauth2_http/javatests/com/google/auth/oauth2/ExternalAccountCredentialsTest.java index 4fc59596c..d8f5b30e4 100644 --- a/oauth2_http/javatests/com/google/auth/oauth2/ExternalAccountCredentialsTest.java +++ b/oauth2_http/javatests/com/google/auth/oauth2/ExternalAccountCredentialsTest.java @@ -1117,8 +1117,8 @@ private GenericJson buildJsonAwsCredential() { Map map = new HashMap<>(); map.put("environment_id", "aws1"); - map.put("region_url", "regionUrl"); - map.put("url", "url"); + map.put("region_url", "https://169.254.169.254/region"); + map.put("url", "https://169.254.169.254/"); map.put("regional_cred_verification_url", "regionalCredVerificationUrl"); json.put("credential_source", map);