Skip to content

Commit

Permalink
Fix typo in branch protection's pull_request_bypassers test (integrat…
Browse files Browse the repository at this point in the history
…ions#1099)

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
  • Loading branch information
reedloden and kfcampbell authored May 1, 2023
1 parent 0300605 commit e8bed4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions github/resource_github_branch_protection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -582,10 +582,10 @@ func TestAccGithubBranchProtection(t *testing.T) {

check := resource.ComposeAggregateTestCheckFunc(
resource.TestCheckResourceAttr(
"github_branch_protection.test", "required_pull_request_reviews.0.dismiss_stale_reviews.#", "1",
"github_branch_protection.test", "required_pull_request_reviews.0.pull_request_bypassers.#", "1",
),
resource.TestCheckResourceAttr(
"github_branch_protection.test", "required_pull_request_reviews.0.dismiss_stale_reviews.0", "1234",
"github_branch_protection.test", "required_pull_request_reviews.0.pull_request_bypassers.0", "1234",
),
)

Expand Down Expand Up @@ -640,7 +640,7 @@ func TestAccGithubBranchProtection(t *testing.T) {

check := resource.ComposeAggregateTestCheckFunc(
resource.TestCheckResourceAttr(
"github_branch_protection.test", "required_pull_request_reviews.0.dismiss_stale_reviews.#", "0",
"github_branch_protection.test", "required_pull_request_reviews.0.pull_request_bypassers.#", "0",
),
)

Expand Down

0 comments on commit e8bed4f

Please sign in to comment.