Skip to content

Commit 40788b2

Browse files
Merge pull request #48 from hyperledger/tests/ut
Connector config's unit tests refactoring
2 parents a363ae2 + 9e81a8e commit 40788b2

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

cmd/tezosconnect_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func TestRun(t *testing.T) {
2626
},
2727
{
2828
name: "error on NewTezosConnector",
29-
cfgFile: "../test/firefly.tezosconnect-without-connector.yaml",
29+
cfgFile: "../test/no-connector.tezosconnect.yaml",
3030
errMsg: "FF23051",
3131
},
3232
}
@@ -50,7 +50,7 @@ func TestRun(t *testing.T) {
5050

5151
func TestRunMigrationsBadConfig(t *testing.T) {
5252
rootCmd.SetArgs([]string{
53-
"migrate", "leveldb2postgres", "-f", "../test/fail-start.tezosconnect.yaml",
53+
"migrate", "leveldb2postgres", "-f", "../test/no-connector.tezosconnect.yaml",
5454
})
5555
defer rootCmd.SetArgs([]string{})
5656

test/firefly.tezosconnect-without-connector.yaml

-3
This file was deleted.

0 commit comments

Comments
 (0)