mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-06 10:41:07 +00:00
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.
This commit is contained in:
parent
3ca0bea7c0
commit
a02b335b1d
@ -117,7 +117,7 @@ func TestAccStorageForceDestroy(t *testing.T) {
|
|||||||
),
|
),
|
||||||
},
|
},
|
||||||
resource.TestStep{
|
resource.TestStep{
|
||||||
Config: "",
|
Config: testGoogleStorageBucketsReaderCustomAttributes("idontexist"),
|
||||||
Check: resource.ComposeTestCheckFunc(
|
Check: resource.ComposeTestCheckFunc(
|
||||||
testAccCheckCloudStorageBucketMissing(bucketName),
|
testAccCheckCloudStorageBucketMissing(bucketName),
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user