Skip to content

Commit 2b2a431

Browse files
committed
chore: Remove universe domain
1 parent 50165d4 commit 2b2a431

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

oauth2_http/javatests/com/google/auth/oauth2/ServiceAccountCredentialsTest.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff 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 =

0 commit comments

Comments
 (0)