Skip to content

Commit 1cc94d4

Browse files
committed
fix: test data
1 parent 7ea1195 commit 1cc94d4

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

internal/services/spectrum_application/resource_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ func TestAccCloudflareSpectrumApplication_OriginDNS(t *testing.T) {
121121
resource.TestCheckResourceAttr(name, "origin_dns.name", fmt.Sprintf("%s.origin.%s", rnd, domain)),
122122
resource.TestCheckResourceAttr(name, "origin_port", "22"),
123123
),
124-
// ExpectNonEmptyPlan due to DNS record drift
125-
ExpectNonEmptyPlan: true,
126124
},
127125
},
128126
})

internal/services/spectrum_application/testdata/spectrumapplicationconfigorigindns.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
resource "cloudflare_dns_record" "%[3]s" {
33
zone_id = "%[1]s"
4-
name = "%[3]s.origin"
4+
name = "%[3]s.origin.%[2]s"
55
content = "example.com"
66
type = "CNAME"
77
ttl = 3600

0 commit comments

Comments
 (0)