Skip to content

Commit

Permalink
tapdb: align unit tests with in-code comments
Browse files Browse the repository at this point in the history
This commit updates the unit tests to accurately reflect and comply with
the intended behavior outlined in the in-code comments.
  • Loading branch information
ffranr committed Aug 12, 2024
1 parent 5f41632 commit 3dfecbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tapdb/assets_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2090,7 +2090,9 @@ func TestTransferOutputProofDeliveryStatus(t *testing.T) {

// At this point, we should be able to query for the log parcel, by
// looking for all unconfirmed transfers.
assetTransfers, err := db.QueryAssetTransfers(ctx, TransferQuery{})
assetTransfers, err := db.QueryAssetTransfers(ctx, TransferQuery{
PendingTransfersOnly: sqlBool(true),
})
require.NoError(t, err)
require.Len(t, assetTransfers, 1)

Expand Down

0 comments on commit 3dfecbe

Please sign in to comment.