mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-04 22:26:11 +02:00
Revert "fix: add UpdateDataLocalizationRegionalHostname to test framework"
This reverts commit 438b0bccb539511ed73af885a414f10c894c81e6.
This commit is contained in:
parent
b282c29ab7
commit
e8bda89de6
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user