Skip to content

Commit

Permalink
fixing parsesendresp tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gouthamp-stellar committed Sep 26, 2024
1 parent 9118a06 commit 12425f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/tss/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ func TestParseToRPCSendTxResponse(t *testing.T) {
ErrorResultXDR: "",
}, nil)

assert.Equal(t, entities.PendingStatus, resp.Status)
assert.Equal(t, UnmarshalBinaryCode, resp.Code.OtherCodes)
assert.Equal(t, "parse error result xdr string: unable to unmarshal errorResultXDR: ", err.Error())
assert.Equal(t, entities.PendingStatus, resp.Status.RPCStatus)
assert.Equal(t, EmptyCode, resp.Code.OtherCodes)
assert.Empty(t, err)
})

t.Run("response_has_unparsable_errorResultXdr", func(t *testing.T) {
Expand Down

0 comments on commit 12425f9

Please sign in to comment.