We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3fcbdd commit 1c58e69Copy full SHA for 1c58e69
core/auth/auth_test.go
@@ -503,6 +503,7 @@ func TestKeyAuth(t *testing.T) {
503
t.Setenv("STACKIT_SERVICE_ACCOUNT_KEY_PATH", "")
504
t.Setenv("STACKIT_PRIVATE_KEY", "")
505
t.Setenv("STACKIT_PRIVATE_KEY_PATH", "")
506
+ t.Setenv("HOME", t.TempDir())
507
508
var saKey string
509
if test.serviceAccountKey != nil {
@@ -843,6 +844,7 @@ func TestGetServiceAccountKey(t *testing.T) {
843
844
},
845
} {
846
t.Run(test.name, func(t *testing.T) {
847
848
t.Setenv("STACKIT_CREDENTIALS_PATH", test.credentialsFilePath)
849
850
if test.envServiceAccountKeyPathSet {
0 commit comments