From 728787c11a112503dbfa99f9c81b3f1b2c2cd88f Mon Sep 17 00:00:00 2001 From: jeffyanta Date: Thu, 20 Aug 2026 16:26:56 -0400 Subject: [PATCH] Fix TestBuildRecordsForIntent_GiftCardClaim test --- ocp/history/intent_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ocp/history/intent_test.go b/ocp/history/intent_test.go index 34236ac..04b77d4 100644 --- a/ocp/history/intent_test.go +++ b/ocp/history/intent_test.go @@ -120,8 +120,7 @@ func TestBuildRecordsForIntent_GiftCardClaim(t *testing.T) { assert.Equal(t, intentRecord.IntentId, claimed.ReferenceId) assert.Equal(t, history.IndirectlyReceived, claimed.Type) assert.Equal(t, intentRecord.InitiatorOwnerAccount, claimed.OwnerAccount) - require.NotNil(t, claimed.CounterpartyOwnerAccount) - assert.Equal(t, issuedIntentRecord.InitiatorOwnerAccount, *claimed.CounterpartyOwnerAccount) + require.Nil(t, claimed.CounterpartyOwnerAccount) assert.Equal(t, intentRecord.ReceivePaymentsPubliclyMetadata.OriginalExchangeCurrency, claimed.ExchangeCurrency) assert.Equal(t, intentRecord.ReceivePaymentsPubliclyMetadata.OriginalNativeAmount, claimed.NativeAmount) assert.Equal(t, intentRecord.MintAccount, claimed.MintAccount)