fix dns import tests (#1470)

This commit is contained in:
Dana Hoffman 2018-05-10 09:26:02 -07:00 committed by GitHub
parent 93689454f6
commit 63277caf39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ func TestAccDnsRecordSet_basic(t *testing.T) {
},
resource.TestStep{
ResourceName: "google_dns_record_set.foobar",
ImportStateId: fmt.Sprintf("%s/test-record.hashicorptest.com./A", zoneName),
ImportStateId: fmt.Sprintf("%s/test-record.%s.hashicorptest.com./A", zoneName, zoneName),
ImportState: true,
ImportStateVerify: true,
},
@ -114,7 +114,7 @@ func TestAccDnsRecordSet_ns(t *testing.T) {
},
resource.TestStep{
ResourceName: "google_dns_record_set.foobar",
ImportStateId: fmt.Sprintf("%s/hashicorptest.com./NS", zoneName),
ImportStateId: fmt.Sprintf("%s/%s.hashicorptest.com./NS", zoneName, zoneName),
ImportState: true,
ImportStateVerify: true,
},