From ce729c1a82e030030814955b9f222b3916452b80 Mon Sep 17 00:00:00 2001 From: James Nugent Date: Mon, 23 May 2016 17:20:19 -0500 Subject: [PATCH] provider/google: Provide valid config in acctest The changes to allow for testing ID-only refresh conflict with passing in "" as Config for tests. In this case we instead construct a config with a known-non-existent bucket name. --- builtin/providers/google/resource_storage_bucket_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/google/resource_storage_bucket_test.go b/builtin/providers/google/resource_storage_bucket_test.go index 35fc8f3081..de38be8411 100644 --- a/builtin/providers/google/resource_storage_bucket_test.go +++ b/builtin/providers/google/resource_storage_bucket_test.go @@ -117,7 +117,7 @@ func TestAccStorageForceDestroy(t *testing.T) { ), }, resource.TestStep{ - Config: "", + Config: testGoogleStorageBucketsReaderCustomAttributes("idontexist"), Check: resource.ComposeTestCheckFunc( testAccCheckCloudStorageBucketMissing(bucketName), ),