From 9078efc4787a597826cddaaab0e9eadb1b392647 Mon Sep 17 00:00:00 2001 From: Paddy Date: Wed, 10 May 2017 15:12:14 -0700 Subject: [PATCH] Update test names. --- ...ata_source_google_container_engine_versions_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/builtin/providers/google/data_source_google_container_engine_versions_test.go b/builtin/providers/google/data_source_google_container_engine_versions_test.go index 208dff034..baf880943 100644 --- a/builtin/providers/google/data_source_google_container_engine_versions_test.go +++ b/builtin/providers/google/data_source_google_container_engine_versions_test.go @@ -10,22 +10,22 @@ import ( "github.com/hashicorp/terraform/terraform" ) -func TestAccGoogleContainerVersions_basic(t *testing.T) { +func TestAccGoogleContainerEngineVersions_basic(t *testing.T) { resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) }, Providers: testAccProviders, Steps: []resource.TestStep{ { - Config: testAccCheckGoogleContainerVersionsConfig, + Config: testAccCheckGoogleContainerEngineVersionsConfig, Check: resource.ComposeTestCheckFunc( - testAccCheckGoogleContainerVersionsMeta("data.google_container_engine_versions.versions"), + testAccCheckGoogleContainerEngineVersionsMeta("data.google_container_engine_versions.versions"), ), }, }, }) } -func testAccCheckGoogleContainerVersionsMeta(n string) resource.TestCheckFunc { +func testAccCheckGoogleContainerEngineVersionsMeta(n string) resource.TestCheckFunc { return func(s *terraform.State) error { rs, ok := s.RootModule().Resources[n] if !ok { @@ -90,7 +90,7 @@ func testAccCheckGoogleContainerVersionsMeta(n string) resource.TestCheckFunc { } } -var testAccCheckGoogleContainerVersionsConfig = ` +var testAccCheckGoogleContainerEngineVersionsConfig = ` data "google_container_engine_versions" "versions" { zone = "us-central1-b" }