Skip to content

Commit

Permalink
Fix project services tests by using a service without any dependencies (
Browse files Browse the repository at this point in the history
  • Loading branch information
modular-magician authored and nat-henderson committed Dec 12, 2018
1 parent efd74d7 commit 2fccc0e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions google-beta/resource_google_project_services_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ func TestAccProjectServices_basic(t *testing.T) {

org := getTestOrgFromEnv(t)
pid := "terraform-" + acctest.RandString(10)
services1 := []string{"cloudbuild.googleapis.com", "cloudresourcemanager.googleapis.com"}
services1 := []string{"logging.googleapis.com", "cloudresourcemanager.googleapis.com"}
services2 := []string{"cloudresourcemanager.googleapis.com"}
oobService := "cloudbuild.googleapis.com"
oobService := "logging.googleapis.com"
resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders,
Expand Down Expand Up @@ -70,7 +70,7 @@ func TestAccProjectServices_authoritative(t *testing.T) {
org := getTestOrgFromEnv(t)
pid := "terraform-" + acctest.RandString(10)
services := []string{"cloudresourcemanager.googleapis.com"}
oobService := "cloudbuild.googleapis.com"
oobService := "logging.googleapis.com"
resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders,
Expand Down Expand Up @@ -106,8 +106,8 @@ func TestAccProjectServices_authoritative2(t *testing.T) {

org := getTestOrgFromEnv(t)
pid := "terraform-" + acctest.RandString(10)
oobServices := []string{"cloudbuild.googleapis.com", "cloudresourcemanager.googleapis.com"}
services := []string{"cloudbuild.googleapis.com"}
oobServices := []string{"logging.googleapis.com", "cloudresourcemanager.googleapis.com"}
services := []string{"logging.googleapis.com"}

resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Expand Down

0 comments on commit 2fccc0e

Please sign in to comment.