From 3692f2d163451bde8a5473a89a0c1c18e6f8ded6 Mon Sep 17 00:00:00 2001 From: George Date: Thu, 24 Oct 2024 11:10:26 -0700 Subject: [PATCH] Add field check to tests --- cmd/soroban-rpc/internal/methods/get_transaction_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/soroban-rpc/internal/methods/get_transaction_test.go b/cmd/soroban-rpc/internal/methods/get_transaction_test.go index 847b2e6e..7c339481 100644 --- a/cmd/soroban-rpc/internal/methods/get_transaction_test.go +++ b/cmd/soroban-rpc/internal/methods/get_transaction_test.go @@ -64,6 +64,7 @@ func TestGetTransaction(t *testing.T) { Status: TransactionStatusSuccess, ApplicationOrder: 1, FeeBump: false, + TransactionHash: hash, EnvelopeXDR: expectedEnvelope, ResultXDR: expectedTxResult, ResultMetaXDR: expectedTxMeta, @@ -120,6 +121,7 @@ func TestGetTransaction(t *testing.T) { Status: TransactionStatusFailed, ApplicationOrder: 1, FeeBump: false, + TransactionHash: hash, EnvelopeXDR: expectedEnvelope, ResultXDR: expectedTxResult, ResultMetaXDR: expectedTxMeta, @@ -155,6 +157,7 @@ func TestGetTransaction(t *testing.T) { Status: TransactionStatusSuccess, ApplicationOrder: 1, FeeBump: false, + TransactionHash: hash, EnvelopeXDR: expectedEnvelope, ResultXDR: expectedTxResult, ResultMetaXDR: expectedTxMeta,