Skip to content

Commit

Permalink
stellar#5221: fixed client unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
sreuland committed Mar 6, 2024
1 parent 325d0ba commit e5ef575
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions clients/horizonclient/main_test.go
Expand Up @@ -916,6 +916,11 @@ func TestSubmitTransactionRequest(t *testing.T) {
return httpmock.NewStringResponse(http.StatusOK, strings.Replace(txDetailResponse, "<result_meta_xdr>", "", 1)), nil
})

hmock.On(
"GET",
"https://localhost/accounts/GACTJ4ZFCDZMD2UFR4R7MZOWYBCF6HBP65YKCUT37MUQFPJLDLJ3N5D2/data/config.memo_required",
).ReturnString(404, notFoundResponse)

theTx, err := client.SubmitTransaction(tx)
assert.NoError(t, err)
assert.Empty(t, theTx.ResultMetaXdr)
Expand Down

0 comments on commit e5ef575

Please sign in to comment.