Skip to content

Commit af20ce2

Browse files
committed
fix(ci): Checking CWD during oauth test
1 parent 1676681 commit af20ce2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

auth_providers/auth_oauth_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ func TestCommandConfigOauth_Authenticate(t *testing.T) {
123123
os.Setenv(auth_providers.EnvKeyfactorSkipVerify, "true")
124124
os.Setenv(auth_providers.EnvKeyfactorCACert, "lib/certs/int-oidc-lab.eastus2.cloudapp.azure.com.pem")
125125

126+
//current working directory
127+
cwd, _ := os.Getwd()
128+
t.Logf("Current working directory: %s", cwd)
129+
126130
// Begin test case
127131
noParamsTestName := fmt.Sprintf(
128132
"w/ complete ENV variables & %s,%s", auth_providers.EnvKeyfactorCACert,

0 commit comments

Comments
 (0)