From edda6ca56ec4337d2fc6ebd8959a06ce4b4cbc00 Mon Sep 17 00:00:00 2001 From: Gustavo Santos Ferreira Date: Tue, 11 Sep 2018 10:56:20 -0300 Subject: [PATCH] remove overly simple feature tests --- .../features/viewing_addresses_test.exs | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/apps/block_scout_web/test/block_scout_web/features/viewing_addresses_test.exs b/apps/block_scout_web/test/block_scout_web/features/viewing_addresses_test.exs index 0d67b6ac30..ad998dbaaf 100644 --- a/apps/block_scout_web/test/block_scout_web/features/viewing_addresses_test.exs +++ b/apps/block_scout_web/test/block_scout_web/features/viewing_addresses_test.exs @@ -94,29 +94,6 @@ defmodule BlockScoutWeb.ViewingAddressesTest do end end - describe "viewing contract token" do - test "see a link to the token of the contract", %{session: session} do - address = insert(:address) - contract = insert(:address, contract_code: Factory.data("contract_code")) - transaction = insert(:transaction, from_address: address, created_contract_address: contract) - - internal_transaction = - insert( - :internal_transaction_create, - index: 0, - transaction: transaction, - from_address: address, - created_contract_address: contract - ) - - insert(:token, contract_address: address) - - session - |> AddressPage.visit_page(internal_transaction.created_contract_address) - |> assert_has(AddressPage.token_hash_link()) - end - end - describe "viewing transactions" do test "sees all addresses transactions by default", %{ addresses: addresses,