Skip to content

Commit

Permalink
Merge pull request #57 from hyperledger/ut-cov
Browse files Browse the repository at this point in the history
Increase ut coverage
  • Loading branch information
alex-semenyuk authored Aug 8, 2024
2 parents 7b65b4b + 425f670 commit 83b2dd4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/tezosconnect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ func TestRun(t *testing.T) {
cfgFile: "../test/missing.firefly.tezosconnect.yaml",
errMsg: "FF00101",
},
{
name: "wrong persistence type error",
cfgFile: "../test/bad-persistence-type.tezosconnect.yaml",
errMsg: "FF21043",
},
{
name: "error on NewTezosConnector",
cfgFile: "../test/no-connector.tezosconnect.yaml",
Expand Down
5 changes: 5 additions & 0 deletions test/bad-persistence-type.tezosconnect.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
connector:
blockchain:
rpc: https://ghostnet.example.com
persistence:
type: wrong-type

0 comments on commit 83b2dd4

Please sign in to comment.