Skip to content

Commit

Permalink
Fix config test
Browse files Browse the repository at this point in the history
  • Loading branch information
colmsnowplow committed Sep 17, 2024
1 parent babacd9 commit 7c24367
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/component_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func TestCreateTargetComponentHCL(t *testing.T) {
Headers: "",
BasicAuthUsername: "",
BasicAuthPassword: "",
EnableTLS: false,
CertFile: "",
KeyFile: "",
CaFile: "",
Expand Down Expand Up @@ -110,6 +111,7 @@ func TestCreateTargetComponentHCL(t *testing.T) {
OAuth2ClientSecret: "myClientSecret",
OAuth2RefreshToken: "myRefreshToken",
OAuth2TokenURL: "https://my.auth.server/token",
EnableTLS: true,
CertFile: "myLocalhost.crt",
KeyFile: "myLocalhost.key",
CaFile: "myRootCA.crt",
Expand Down Expand Up @@ -151,6 +153,7 @@ func TestCreateTargetComponentHCL(t *testing.T) {
SASLUsername: "",
SASLPassword: "",
SASLAlgorithm: "sha512",
EnableTLS: false,
CertFile: "",
KeyFile: "",
CaFile: "",
Expand All @@ -177,6 +180,7 @@ func TestCreateTargetComponentHCL(t *testing.T) {
SASLUsername: "mySaslUsername",
SASLPassword: "mySASLPassword",
SASLAlgorithm: "sha256",
EnableTLS: true,
CertFile: "myLocalhost.crt",
KeyFile: "myLocalhost.key",
CaFile: "myRootCA.crt",
Expand Down

0 comments on commit 7c24367

Please sign in to comment.