From 59afd10bb4931d818803108f4d765c727616365f Mon Sep 17 00:00:00 2001 From: Jeffrey Cafferata Date: Sun, 5 Jan 2025 14:10:07 +0100 Subject: [PATCH] CHORE: Rename `providers.json` to `profiles.json` within the integration tests. --- integrationTest/integration_test.go | 6 +++--- integrationTest/{providers.json => profiles.json} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename integrationTest/{providers.json => profiles.json} (100%) diff --git a/integrationTest/integration_test.go b/integrationTest/integration_test.go index 47ea169c2..13c82e294 100644 --- a/integrationTest/integration_test.go +++ b/integrationTest/integration_test.go @@ -21,7 +21,7 @@ import ( ) var providerFlag = flag.String("provider", "", "Provider to run (if empty, deduced from -profile)") -var profileFlag = flag.String("profile", "", "Entry in providers.json to use (if empty, copied from -provider)") +var profileFlag = flag.String("profile", "", "Entry in profiles.json to use (if empty, copied from -provider)") var startIdx = flag.Int("start", -1, "Test number to begin with") var endIdx = flag.Int("end", -1, "Test index to stop after") var verbose = flag.Bool("verbose", false, "Print corrections as you run them") @@ -55,7 +55,7 @@ func getProvider(t *testing.T) (providers.DNSServiceProvider, string, map[string // Load the profile values - jsons, err := credsfile.LoadProviderConfigs("providers.json") + jsons, err := credsfile.LoadProviderConfigs("profiles.json") if err != nil { t.Fatalf("Error loading provider configs: %s", err) } @@ -76,7 +76,7 @@ func getProvider(t *testing.T) (providers.DNSServiceProvider, string, map[string profileName = p profileType = cfg["TYPE"] if profileType == "" { - t.Fatalf("providers.json profile %q does not have a TYPE field", *profileFlag) + t.Fatalf("profiles.json profile %q does not have a TYPE field", *profileFlag) } break } diff --git a/integrationTest/providers.json b/integrationTest/profiles.json similarity index 100% rename from integrationTest/providers.json rename to integrationTest/profiles.json