From 5f66991458134b360da6a77282bacba740f974c2 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Fri, 19 Jun 2020 17:15:26 -0400 Subject: [PATCH] Fix failing test --- commands/gz_test.go | 2 +- commands/test_data/bind-creds.json | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 commands/test_data/bind-creds.json diff --git a/commands/gz_test.go b/commands/gz_test.go index 73996ca3f..569213e20 100644 --- a/commands/gz_test.go +++ b/commands/gz_test.go @@ -47,7 +47,7 @@ func testFormat(t *testing.T, domain, format string) { CredName: "bind", ProviderName: "BIND", } - gzargs.CredsFile = "test_data/creds.json" + gzargs.CredsFile = "test_data/bind-creds.json" // Read the zonefile and convert err = GetZone(gzargs) diff --git a/commands/test_data/bind-creds.json b/commands/test_data/bind-creds.json new file mode 100644 index 000000000..2dff463ad --- /dev/null +++ b/commands/test_data/bind-creds.json @@ -0,0 +1,5 @@ +{ + "bind": { + "directory": "test_data" + } +}