Skip to content

Commit fc3f3c6

Browse files
committed
chore: change visibility repository (#74)
1 parent 5f09275 commit fc3f3c6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/repository_add_labels_default_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func TestAddLabelsDefaultSuccess(t *testing.T) {
2020

2121
name := faker.Repository().Name()
2222
description := faker.Repository().Description()
23-
visibility := "public"
23+
visibility := config.VisibilityPublic
2424
addLabelsDefault := true
2525
logger.Debugf(
2626
"values for test terraform-github-repository is",

test/repository_basic_public_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func TestRepositoryBasicPublicSuccess(t *testing.T) {
2121

2222
repository := faker.Repository().Name()
2323
description := faker.Repository().Description()
24-
visibility := "public"
24+
visibility := config.VisibilityPublic
2525
logger.Debugf(
2626
"values for test terraform-github-repository is",
2727
"repository", repository,

test/repository_basic_templates_with_settings_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func TestBasicTemplatesWithSettingsSuccess(t *testing.T) {
2020

2121
name := faker.Repository().Name()
2222
description := faker.Repository().Description()
23-
visibility := "public"
23+
visibility := config.VisibilityPublic
2424
settings := map[string]interface{}{
2525
"auto_init": true,
2626
"template": map[string]string{

test/repository_ghpages_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func TestGhpagesSuccess(t *testing.T) {
2020

2121
repository := faker.Repository().Name()
2222
description := faker.Repository().Description()
23-
visibility := "public"
23+
visibility := config.VisibilityPublic
2424
logger.Debugf(
2525
"values for test terraform-github-repository is",
2626
"repository", repository,

0 commit comments

Comments
 (0)