-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add remove default from minimal config
- Loading branch information
1 parent
438b0bc
commit 1e35134
Showing
2 changed files
with
1 addition
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1401,29 +1401,6 @@ func TestCloudFlareProvider_Region(t *testing.T) { | |
} | ||
} | ||
|
||
// Will come back to this before merge | ||
// func TestCloudFlareProvider_UpdateDataLocalizationRegionalHostname(t *testing.T) { | ||
// _ = os.Setenv("CF_API_KEY", "xxxxxxxxxxxxxxxxx") | ||
// _ = os.Setenv("CF_API_EMAIL", "[email protected]") | ||
// provider, err := NewCloudFlareProvider(endpoint.NewDomainFilter([]string{"example.com"}), provider.ZoneIDFilter{}, true, false, 50, "us") | ||
// if err != nil { | ||
// t.Fatal(err) | ||
// } | ||
|
||
// ctx := context.Background() | ||
// zoneID := "example.com" | ||
// resourceContainer := cloudflare.ZoneIdentifier(zoneID) | ||
// regionalHostnameParam := cloudflare.UpdateDataLocalizationRegionalHostnameParams{ | ||
// Hostname: "example", | ||
// RegionKey: "us", | ||
// } | ||
|
||
// err = provider.Client.UpdateDataLocalizationRegionalHostname(ctx, resourceContainer, regionalHostnameParam) | ||
// if err != nil { | ||
// t.Errorf("expected no error, but got '%v'", err) | ||
// } | ||
// } | ||
|
||
func TestCloudFlareProvider_getUpdateDataLocalizationRegionalHostnameParams(t *testing.T) { | ||
change := &cloudFlareChange{ | ||
RegionalHostname: cloudflare.RegionalHostname{ | ||
|