File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
sdk-platform-java/gax-java/gax/src/test/java/com/google/api/gax/rpc Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -994,8 +994,7 @@ void testCreateClientContext_withGdchCredentialWithoutAudienceWithEndpoint_corre
994994 assertThat (fromContext ).isInstanceOf (GdchCredentials .class );
995995 assertThat (fromProvider ).isInstanceOf (GdchCredentials .class );
996996 assertNotSame (fromContext , fromProvider );
997- verify ((GdchCredentials ) fromProvider , times (1 ))
998- .createWithGdchAudience ("test-endpoint" );
997+ verify ((GdchCredentials ) fromProvider , times (1 )).createWithGdchAudience ("test-endpoint" );
999998 }
1000999
10011000 @ Test
@@ -1021,10 +1020,8 @@ void testCreateClientContext_withGdchCredentialAndValidAudience() throws IOExcep
10211020 assertNotNull (fromContext );
10221021 // using an audience should have made the context to recreate the credentials
10231022 assertNotSame (fromContext , fromProvider );
1024- verify ((GdchCredentials ) fromProvider , times (1 ))
1025- .createWithGdchAudience ("valid-uri" );
1026- verify ((GdchCredentials ) fromProvider , times (0 ))
1027- .createWithGdchAudience ("test-endpoint" );
1023+ verify ((GdchCredentials ) fromProvider , times (1 )).createWithGdchAudience ("valid-uri" );
1024+ verify ((GdchCredentials ) fromProvider , times (0 )).createWithGdchAudience ("test-endpoint" );
10281025 }
10291026
10301027 @ Test
You can’t perform that action at this time.
0 commit comments