Skip to content

Commit

Permalink
Fix typo in branch protection's pull_request_bypassers test (#1099)
Browse files Browse the repository at this point in the history
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
  • Loading branch information
reedloden and kfcampbell authored May 1, 2023
1 parent 5db8898 commit a5bb4a4
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 a5bb4a4

Please sign in to comment.