From a02b335b1d46f63569afe427a4d739bfa39d8470 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. --- resource_storage_bucket_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource_storage_bucket_test.go b/resource_storage_bucket_test.go index 35fc8f30..de38be84 100644 --- a/resource_storage_bucket_test.go +++ b/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), ),