Skip to content

Commit

Permalink
Vendor random provider to allow use in tests (#2110)
Browse files Browse the repository at this point in the history
Support for an upcoming generated PR.
  • Loading branch information
rileykarson authored Sep 25, 2018
1 parent 9960e2f commit 8c0bc93
Show file tree
Hide file tree
Showing 16 changed files with 1,552 additions and 0 deletions.
4 changes: 4 additions & 0 deletions google/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ import (

"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/terraform"
"github.com/terraform-providers/terraform-provider-random/random"
)

var testAccProviders map[string]terraform.ResourceProvider
var testAccProvider *schema.Provider
var testAccRandomProvider *schema.Provider

var credsEnvVars = []string{
"GOOGLE_CREDENTIALS",
Expand Down Expand Up @@ -51,8 +53,10 @@ var billingAccountEnvVars = []string{

func init() {
testAccProvider = Provider().(*schema.Provider)
testAccRandomProvider = random.Provider().(*schema.Provider)
testAccProviders = map[string]terraform.ResourceProvider{
"google": testAccProvider,
"random": testAccRandomProvider,
}
}

Expand Down
202 changes: 202 additions & 0 deletions vendor/github.com/dustinkirkland/golang-petname/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

109 changes: 109 additions & 0 deletions vendor/github.com/dustinkirkland/golang-petname/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 51 additions & 0 deletions vendor/github.com/dustinkirkland/golang-petname/golang-petname.1

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8c0bc93

Please sign in to comment.