Skip to content

Commit

Permalink
Merge pull request #2013 from okta/monde-patch-1
Browse files Browse the repository at this point in the history
Update provider_test.go
  • Loading branch information
monde authored Sep 10, 2024
2 parents 56bc092 + f64ea10 commit b241408
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions okta/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,9 @@ type vcrManager struct {
}

func skipVCRTest(t *testing.T) bool {
t.Skipf("test %q is not VCR compatible", t.Name())
return os.Getenv("OKTA_VCR_TF_ACC") != ""
skip := os.Getenv("OKTA_VCR_TF_ACC") != ""
if skip {
t.Skipf("test %q is not VCR compatible", t.Name())
}
return skip
}

0 comments on commit b241408

Please sign in to comment.