Skip to content

Commit

Permalink
fixup! Reuse global variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Udit committed May 16, 2020
1 parent 266426e commit 546c27c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions github/resource_github_repository_file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ resource "github_repository_file" "foo" {

func testAccGithubRepositoryFileOverwriteDisabledConfig(randString string) string {

owner := os.Getenv("GITHUB_ORGANIZATION")
owner := testOrganization
repository := os.Getenv("GITHUB_TEMPLATE_REPOSITORY")

return fmt.Sprintf(`
Expand Down Expand Up @@ -516,7 +516,7 @@ resource "github_repository_file" "foo" {

func testAccGithubRepositoryFileOverwriteEnabledConfig(randString, path, content string) string {

owner := os.Getenv("GITHUB_ORGANIZATION")
owner := testOrganization
templateRepository := os.Getenv("GITHUB_TEMPLATE_REPOSITORY")

return fmt.Sprintf(`
Expand Down

0 comments on commit 546c27c

Please sign in to comment.