File tree Expand file tree Collapse file tree 4 files changed +10
-42
lines changed
javatests/com/google/auth/oauth2
java/com/google/auth/oauth2 Expand file tree Collapse file tree 4 files changed +10
-42
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ public List<String> getLocations() {
105105 @ Override
106106 public String toString () {
107107 return MoreObjects .toStringHelper (this )
108- .add ("encoded_locations " , encodedLocations )
108+ .add ("encodedLocations " , encodedLocations )
109109 .add ("locations" , locations )
110110 .toString ();
111111 }
Original file line number Diff line number Diff line change 3131
3232package com .google .auth .oauth2 ;
3333
34- import static org .junit .Assert .*;
34+ import static org .junit .Assert .assertEquals ;
35+ import static org .junit .Assert .assertFalse ;
36+ import static org .junit .Assert .assertNotNull ;
37+ import static org .junit .Assert .assertNull ;
38+ import static org .junit .Assert .assertSame ;
39+ import static org .junit .Assert .assertTrue ;
40+ import static org .junit .Assert .fail ;
3541
3642import com .google .api .client .http .HttpStatusCodes ;
3743import com .google .api .client .json .GenericJson ;
@@ -1208,7 +1214,7 @@ public void trustBoundary_refreshShouldThrowInCaseOfMalformedResponse() throws I
12081214
12091215 MockTokenServerTransport transport = new MockTokenServerTransport ();
12101216 transport .addServiceAccount (SA_CLIENT_EMAIL , ACCESS_TOKEN );
1211- // The transport will return a response with no encoded_locations field.
1217+ // The transport will return a response with no encodedLocations field.
12121218 transport .setTrustBoundary (new TrustBoundary (null , Collections .emptyList ()));
12131219
12141220 ServiceAccountCredentials credentials =
Original file line number Diff line number Diff line change 4343 <dependency >
4444 <groupId >com.google.auth</groupId >
4545 <artifactId >google-auth-library-oauth2-http</artifactId >
46- <version >1.35.0</version >
46+ <version >1.35.0</version >
4747 </dependency >
4848
4949<!-- IAM dependency-->
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments