resolved error in the TestViewVoucher

This commit is contained in:
Alfred Kamanda 2024-12-03 13:37:00 +03:00
parent 10586baf0d
commit 0f21b01813
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703

View File

@ -2008,7 +2008,7 @@ func TestViewVoucher(t *testing.T) {
res, err := h.ViewVoucher(ctx, "view_voucher", []byte("1")) res, err := h.ViewVoucher(ctx, "view_voucher", []byte("1"))
assert.NoError(t, err) assert.NoError(t, err)
assert.Equal(t, res.Content, "SRF\n100") assert.Equal(t, res.Content, "Symbol: SRF\nBalance: 100")
} }
func TestSetVoucher(t *testing.T) { func TestSetVoucher(t *testing.T) {