Skip to content

Commit f24292e

Browse files
committed
Add field check to tests
1 parent 5bdbd4d commit f24292e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/soroban-rpc/internal/methods/get_transaction_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ func TestGetTransaction(t *testing.T) {
6464
Status: TransactionStatusSuccess,
6565
ApplicationOrder: 1,
6666
FeeBump: false,
67+
TransactionHash: hash,
6768
EnvelopeXDR: expectedEnvelope,
6869
ResultXDR: expectedTxResult,
6970
ResultMetaXDR: expectedTxMeta,
@@ -120,6 +121,7 @@ func TestGetTransaction(t *testing.T) {
120121
Status: TransactionStatusFailed,
121122
ApplicationOrder: 1,
122123
FeeBump: false,
124+
TransactionHash: hash,
123125
EnvelopeXDR: expectedEnvelope,
124126
ResultXDR: expectedTxResult,
125127
ResultMetaXDR: expectedTxMeta,
@@ -155,6 +157,7 @@ func TestGetTransaction(t *testing.T) {
155157
Status: TransactionStatusSuccess,
156158
ApplicationOrder: 1,
157159
FeeBump: false,
160+
TransactionHash: hash,
158161
EnvelopeXDR: expectedEnvelope,
159162
ResultXDR: expectedTxResult,
160163
ResultMetaXDR: expectedTxMeta,

0 commit comments

Comments
 (0)