Fix fetcher_test.exs

pull/6582/head
POA 2 years ago
parent be99681177
commit 81bb151015
  1. 3
      apps/indexer/test/indexer/block/fetcher_test.exs

@ -389,9 +389,6 @@ defmodule Indexer.Block.FetcherTest do
} }
]} ]}
end) end)
|> expect(:json_rpc, fn %{id: _id, jsonrpc: "2.0", method: "net_version", params: []}, _options ->
{:ok, "1"}
end)
|> expect(:json_rpc, fn [%{id: id, method: "trace_block", params: [^block_quantity]}], _options -> |> expect(:json_rpc, fn [%{id: id, method: "trace_block", params: [^block_quantity]}], _options ->
{:ok, [%{id: id, result: []}]} {:ok, [%{id: id, result: []}]}
end) end)

Loading…
Cancel
Save