From 7345bc7ab91638575696c3ed359737850ee06416 Mon Sep 17 00:00:00 2001 From: Reed Loden Date: Wed, 30 Mar 2022 23:00:37 -0500 Subject: [PATCH] Fix typo in branch protection's pull_request_bypassers test --- github/resource_github_branch_protection_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/github/resource_github_branch_protection_test.go b/github/resource_github_branch_protection_test.go index 65cadd0957..1d1a4fd2b2 100644 --- a/github/resource_github_branch_protection_test.go +++ b/github/resource_github_branch_protection_test.go @@ -464,10 +464,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", ), ) @@ -522,7 +522,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", ), )