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)