fix check formatted test

pull/1539/head
Victor Baranov 6 years ago
parent 3171b387be
commit 270c142bfc
  1. 7
      apps/block_scout_web/test/block_scout_web/views/layout_view_test.exs

@ -75,12 +75,15 @@ defmodule BlockScoutWeb.LayoutViewTest do
end end
test "use the enviroment release link when it's configured" do test "use the enviroment release link when it's configured" do
Application.put_env(:block_scout_web, :release_link, Application.put_env(
:block_scout_web,
:release_link,
"https://github.com/poanetwork/blockscout/releases/tag/v1.3.4-beta" "https://github.com/poanetwork/blockscout/releases/tag/v1.3.4-beta"
) )
assert LayoutView.release_link("1.3.4") == assert LayoutView.release_link("1.3.4") ==
{:safe, ~s(<a href="https://github.com/poanetwork/blockscout/releases/tag/v1.3.4-beta" target="_blank">1.3.4</a>)} {:safe,
~s(<a href="https://github.com/poanetwork/blockscout/releases/tag/v1.3.4-beta" target="_blank">1.3.4</a>)}
end end
end end
end end

Loading…
Cancel
Save