Revert "fix: add UpdateDataLocalizationRegionalHostname to test framework"

This reverts commit 438b0bccb539511ed73af885a414f10c894c81e6.
This commit is contained in:
Mikhail Rozentsvayg 2025-02-10 23:01:05 -08:00
parent b282c29ab7
commit e8bda89de6

View File

@ -1317,6 +1317,7 @@ func TestCloudflareComplexUpdate(t *testing.T) {
client := NewMockCloudFlareClientWithRecords(map[string][]cloudflare.DNSRecord{
"001": ExampleDomain,
})
provider := &CloudFlareProvider{
Client: client,
}
@ -1358,7 +1359,7 @@ func TestCloudflareComplexUpdate(t *testing.T) {
t.Errorf("should not fail, %s", err)
}
mockAction := []MockAction{
td.CmpDeeply(t, client.Actions, []MockAction{
{
Name: "Delete",
ZoneId: "001",
@ -1387,17 +1388,7 @@ func TestCloudflareComplexUpdate(t *testing.T) {
Proxied: proxyEnabled,
},
},
{
Name: "UpdateDataLocalizationRegionalHostname",
ZoneId: "001",
RecordData: cloudflare.DNSRecord{
Name: "foobar.bar.com",
TTL: 0,
Proxiable: false,
},
},
}
td.CmpDeeply(t, client.Actions, mockAction)
})
}
func TestCustomTTLWithEnabledProxyNotChanged(t *testing.T) {