Skip to content

Commit

Permalink
test name change
Browse files Browse the repository at this point in the history
Signed-off-by: fahadshamiinsta <[email protected]>
  • Loading branch information
fahadshamiinsta committed Jan 12, 2024
1 parent 956a09e commit 4273081
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public void testApplicationDefaultCredential() throws Exception {
* no Environment Variables provided or Google Compute Engine is not running
* @throws Exception
*/
public void applicationDefaultCredentialThrowsErrorWhenNotAvailable() throws Exception {
public void testApplicationDefaultCredentialWhenNoSettingProvided() throws Exception {
GoogleCloudStorageClientSettings settings = getGCSClientSettingsWithoutCredentials();
HttpTransportOptions mockHttpTransportOptions = Mockito.mock(HttpTransportOptions.class);
GoogleCloudStorageService service = new GoogleCloudStorageService();
Expand All @@ -250,7 +250,7 @@ public void applicationDefaultCredentialThrowsErrorWhenNotAvailable() throws Exc
* used without GoogleCloudStorageService
* @throws Exception
*/
public void googleApplicationDefaultCredentialsThrowsExceptionWithoutGoogleCloudStorageService() throws Exception {
public void testDefaultCredentialsThrowsExceptionWithoutGCStorageService() throws Exception {
GoogleApplicationDefaultCredentials googleApplicationDefaultCredentials = new GoogleApplicationDefaultCredentials();
GoogleCredentials credentials = googleApplicationDefaultCredentials.get();
assertNull(credentials);
Expand Down

0 comments on commit 4273081

Please sign in to comment.