Skip to content

Commit

Permalink
Fix test comparison issue for booleans
Browse files Browse the repository at this point in the history
  • Loading branch information
paultyng committed May 2, 2019
1 parent 0f6f13c commit 8f4c539
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions github/resource_github_organization_webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestAccGithubOrganizationWebhook_basic(t *testing.T) {
Configuration: map[string]interface{}{
"url": "https://google.de/webhook",
"content_type": "json",
"insecure_ssl": "1",
"insecure_ssl": "true",
},
Active: true,
}),
Expand All @@ -45,7 +45,7 @@ func TestAccGithubOrganizationWebhook_basic(t *testing.T) {
Configuration: map[string]interface{}{
"url": "https://google.de/webhooks",
"content_type": "form",
"insecure_ssl": "0",
"insecure_ssl": "false",
},
Active: false,
}),
Expand Down Expand Up @@ -73,7 +73,7 @@ func TestAccGithubOrganizationWebhook_secret(t *testing.T) {
"url": "https://www.terraform.io/webhook",
"content_type": "json",
"secret": "********",
"insecure_ssl": "0",
"insecure_ssl": "false",
},
Active: true,
}),
Expand Down
6 changes: 3 additions & 3 deletions github/resource_github_repository_webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestAccGithubRepositoryWebhook_basic(t *testing.T) {
Configuration: map[string]interface{}{
"url": "https://google.de/webhook",
"content_type": "json",
"insecure_ssl": "1",
"insecure_ssl": "true",
},
Active: true,
}),
Expand All @@ -47,7 +47,7 @@ func TestAccGithubRepositoryWebhook_basic(t *testing.T) {
Configuration: map[string]interface{}{
"url": "https://google.de/webhooks",
"content_type": "form",
"insecure_ssl": "0",
"insecure_ssl": "false",
},
Active: false,
}),
Expand Down Expand Up @@ -76,7 +76,7 @@ func TestAccGithubRepositoryWebhook_secret(t *testing.T) {
"url": "https://www.terraform.io/webhook",
"content_type": "json",
"secret": "********",
"insecure_ssl": "0",
"insecure_ssl": "false",
},
Active: true,
}),
Expand Down

0 comments on commit 8f4c539

Please sign in to comment.