pull/2888/head
Ayrat Badykov 5 years ago
parent bd5a9e7256
commit f3e9b58fed
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 9
      apps/block_scout_web/test/block_scout_web/controllers/transaction_token_transfer_controller_test.exs

@ -46,11 +46,11 @@ defmodule BlockScoutWeb.TransactionTokenTransferControllerTest do
end
test "includes token transfers for the transaction", %{conn: conn} do
transaction = insert(:transaction)
transaction = insert(:transaction) |> with_block()
insert(:token_transfer, transaction: transaction)
insert(:token_transfer, transaction: transaction, block: transaction.block)
insert(:token_transfer, transaction: transaction)
insert(:token_transfer, transaction: transaction, block: transaction.block)
path = transaction_token_transfer_path(BlockScoutWeb.Endpoint, :index, transaction.hash)
@ -106,7 +106,8 @@ defmodule BlockScoutWeb.TransactionTokenTransferControllerTest do
insert(
:token_transfer,
transaction: transaction,
log_index: log_index
log_index: log_index,
block: transaction.block
)
end)

Loading…
Cancel
Save