fix node_test.exs

pull/2888/head
Ayrat Badykov 5 years ago
parent ad5c8a42f2
commit 2a6b7e6dc1
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      apps/block_scout_web/test/block_scout_web/schema/query/node_test.exs
  2. 2
      apps/explorer/test/support/factory.ex

@ -102,7 +102,7 @@ defmodule BlockScoutWeb.Schema.Query.NodeTest do
end
test "with 'id' for non-existent internal transaction", %{conn: conn} do
transaction = build(:transaction) |> with_block()
transaction = insert(:transaction) |> with_block()
internal_transaction =
build(:internal_transaction,

@ -236,6 +236,8 @@ defmodule Explorer.Factory do
block_hash: block_hash,
block_number: block_number,
cumulative_gas_used: cumulative_gas_used,
from_address_hash: transaction.from_address_hash,
to_address_hash: transaction.to_address_hash,
error: error,
gas_used: gas_used,
index: next_transaction_index,

Loading…
Cancel
Save