Skip to content

Commit 92478b7

Browse files
deigastevehipwell
andauthored
[MAINT] Ensure all acc tests have testacc prefix (#3064)
* Rename Acc tests to correct `TestAcc` prefix Signed-off-by: Timo Sand <timo.sand@f-secure.com> * Update resource_github_repository_ruleset_test.go Co-authored-by: Steve Hipwell <steve.hipwell@gmail.com> * Update resource_github_organization_ruleset_test.go Co-authored-by: Steve Hipwell <steve.hipwell@gmail.com> --------- Signed-off-by: Timo Sand <timo.sand@f-secure.com> Co-authored-by: Steve Hipwell <steve.hipwell@gmail.com>
1 parent 12c208e commit 92478b7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

github/resource_github_organization_ruleset_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
1010
)
1111

12-
func TestGithubOrganizationRulesets(t *testing.T) {
12+
func TestAccGithubOrganizationRuleset(t *testing.T) {
1313
t.Run("create_branch_ruleset", func(t *testing.T) {
1414
randomID := acctest.RandStringFromCharSet(5, acctest.CharSetAlphaNum)
1515

github/resource_github_repository_ruleset_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
1313
)
1414

15-
func TestGithubRepositoryRulesets(t *testing.T) {
15+
func TestAccGithubRepositoryRuleset(t *testing.T) {
1616
t.Run("create_branch_ruleset", func(t *testing.T) {
1717
randomID := acctest.RandStringFromCharSet(5, acctest.CharSetAlphaNum)
1818

@@ -501,7 +501,7 @@ resource "github_repository_ruleset" "test" {
501501
})
502502
}
503503

504-
func TestGithubRepositoryRulesetArchived(t *testing.T) {
504+
func TestAccGithubRepositoryRulesetArchived(t *testing.T) {
505505
randomID := acctest.RandStringFromCharSet(5, acctest.CharSetAlphaNum)
506506

507507
t.Run("skips update and delete on archived repository", func(t *testing.T) {

0 commit comments

Comments
 (0)