diff --git a/cmd/tezosconnect_test.go b/cmd/tezosconnect_test.go index bd1f6d3..37c1576 100644 --- a/cmd/tezosconnect_test.go +++ b/cmd/tezosconnect_test.go @@ -26,7 +26,7 @@ func TestRun(t *testing.T) { }, { name: "error on NewTezosConnector", - cfgFile: "../test/firefly.tezosconnect-without-connector.yaml", + cfgFile: "../test/no-connector.tezosconnect.yaml", errMsg: "FF23051", }, } @@ -50,7 +50,7 @@ func TestRun(t *testing.T) { func TestRunMigrationsBadConfig(t *testing.T) { rootCmd.SetArgs([]string{ - "migrate", "leveldb2postgres", "-f", "../test/fail-start.tezosconnect.yaml", + "migrate", "leveldb2postgres", "-f", "../test/no-connector.tezosconnect.yaml", }) defer rootCmd.SetArgs([]string{}) diff --git a/test/firefly.tezosconnect-without-connector.yaml b/test/firefly.tezosconnect-without-connector.yaml deleted file mode 100644 index 88ecef0..0000000 --- a/test/firefly.tezosconnect-without-connector.yaml +++ /dev/null @@ -1,3 +0,0 @@ -persistence: - leveldb: - path: "../test/ldb" diff --git a/test/fail-start.tezosconnect.yaml b/test/no-connector.tezosconnect.yaml similarity index 100% rename from test/fail-start.tezosconnect.yaml rename to test/no-connector.tezosconnect.yaml