|
|
@ -1747,10 +1747,10 @@ defmodule Explorer.ChainTest do |
|
|
|
assert {:error, :not_found} == response |
|
|
|
assert {:error, :not_found} == response |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
test "doesn't find a unexistent address" do |
|
|
|
test "doesn't find a nonexistent address" do |
|
|
|
unexistent_address_hash = Factory.address_hash() |
|
|
|
nonexistent_address_hash = Factory.address_hash() |
|
|
|
|
|
|
|
|
|
|
|
response = Chain.find_contract_address(unexistent_address_hash) |
|
|
|
response = Chain.find_contract_address(nonexistent_address_hash) |
|
|
|
|
|
|
|
|
|
|
|
assert {:error, :not_found} == response |
|
|
|
assert {:error, :not_found} == response |
|
|
|
end |
|
|
|
end |
|
|
|