Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Application Default Credential if gcp.credential is absent #1585

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix indentation
  • Loading branch information
rhase committed May 27, 2021
commit 65646daca4909999ad14365cf0137c6e87005643
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.when;

// these tests shouldn't be executed concurrently.
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
@FixMethodOrder(MethodSorters.NAME_ASCENDING) // these tests shouldn't be executed concurrently.
@RunWith(MockitoJUnitRunner.class)
public class GcpCredentialProviderTest {
public class GcpCredentialProviderTest
{
private static final ObjectMapper OBJECT_MAPPER = DigdagClient.objectMapper();

@Mock
SecretProvider secrets;
@Mock SecretProvider secrets;

@Test
public void testCredentialWithServiceAccountKey() throws Exception
Expand Down