From e4f8ae309483d83cd8ad16128a154658a963a13a Mon Sep 17 00:00:00 2001 From: Wes Tarle Date: Fri, 12 Jun 2026 20:56:43 +0000 Subject: [PATCH] test(auth): enable skipped quota project default credentials testcase In DefaultCredentialsProviderTest.java, the getDefaultCredentials_quota_project test case was missing the JUnit @Test annotation, causing it to be ignored. This adds the annotation to ensure it is executed during test runs. CONV=41f7bf2e-6802-474b-8f8c-6c42fbded6c2 TAG=agy --- .../com/google/auth/oauth2/DefaultCredentialsProviderTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/DefaultCredentialsProviderTest.java b/google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/DefaultCredentialsProviderTest.java index d0447871b01a..2efb9bc92b87 100644 --- a/google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/DefaultCredentialsProviderTest.java +++ b/google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/DefaultCredentialsProviderTest.java @@ -387,6 +387,7 @@ void getDefaultCredentials_GdchServiceAccount() throws IOException { assertNotNull(((GdchCredentials) defaultCredentials).getApiAudience()); } + @Test void getDefaultCredentials_quota_project() throws IOException { InputStream userStream = UserCredentialsTest.writeUserStream(