Skip to content

Commit

Permalink
fix: 5.43 upgrade signoff
Browse files Browse the repository at this point in the history
  • Loading branch information
bzarboni1 authored and TylerMizuyabu committed Apr 9, 2024
1 parent 3e69fc0 commit b8f15a9
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions github/resource_github_repository_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1575,8 +1575,8 @@ func TestAccGithubRepositoryWebCommitSignoffRequired(t *testing.T) {

config := fmt.Sprintf(`
resource "github_repository" "test" {
name = "tf-acc-%s"
auto_init = true
name = "tf-acc-%s"
auto_init = true
web_commit_signoff_required = true
}
`, randomID)
Expand Down Expand Up @@ -1622,9 +1622,10 @@ func TestAccGithubRepositoryWebCommitSignoffRequired(t *testing.T) {

config := fmt.Sprintf(`
resource "github_repository" "test" {
name = "tf-acc-%s"
auto_init = true
allow_merge_commit = true
name = "tf-acc-%s"
auto_init = true
allow_merge_commit = true
web_commit_signoff_required = true
}
`, randomID)

Expand Down Expand Up @@ -1653,9 +1654,7 @@ func TestAccGithubRepositoryWebCommitSignoffRequired(t *testing.T) {
Check: checks["before"],
},
{
Config: strings.Replace(config,
`}`,
"web_commit_signoff_required = true\n}", 1),
Config: config,
Check: checks["after"],
},
},
Expand Down

0 comments on commit b8f15a9

Please sign in to comment.