File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
oauth2_http/javatests/com/google/auth/oauth2 Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -978,15 +978,10 @@ public void idTokenWithAudience_iamFlow_targetAudienceDoesNotMatchAudClaim() thr
978978
979979 @ Test
980980 public void idTokenWithAudience_oauthEndpoint_non2XXStatusCode () throws IOException {
981- String universeDomain = "test.com" ;
982981 MockTokenServerTransportFactory transportFactory = new MockTokenServerTransportFactory ();
983982 transportFactory .transport .setError (new IOException ("404 Not Found" ));
984983 ServiceAccountCredentials credentials =
985- createDefaultBuilder ()
986- .setScopes (SCOPES )
987- .setHttpTransportFactory (transportFactory )
988- .setUniverseDomain (universeDomain )
989- .build ();
984+ createDefaultBuilder ().setScopes (SCOPES ).setHttpTransportFactory (transportFactory ).build ();
990985
991986 String targetAudience = "audience" ;
992987 IdTokenCredentials tokenCredential =
You can’t perform that action at this time.
0 commit comments