Skip to content

Commit

Permalink
Adding failure code to a connection failure condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
Freydal committed Feb 29, 2020
1 parent a527a58 commit d8b1728
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion services/hot-wallet/core/hot_wallet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ func TestHotWallet(t *testing.T) {
}

hw, err := NewHotWallet(provider, hwCfg)
assert.NoError(t, err)

if err != nil {
assert.NoError(t, err)
t.FailNow()
}

t.Run("test order creation", func(t *testing.T) { testCreateOrder(hw, t) })
t.Run("test ether transfer", func(t *testing.T) { testTransferEther(hw, t) })
Expand Down

0 comments on commit d8b1728

Please sign in to comment.