From 8489c6db5b8c7da18a02ba38467f1a9b5de6a7f4 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Mon, 8 Jul 2019 17:24:24 +0300 Subject: [PATCH] fix tests --- .../test/block_scout_web/views/api_docs_view_test.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/block_scout_web/test/block_scout_web/views/api_docs_view_test.exs b/apps/block_scout_web/test/block_scout_web/views/api_docs_view_test.exs index 7005798c7b..8501f27abc 100644 --- a/apps/block_scout_web/test/block_scout_web/views/api_docs_view_test.exs +++ b/apps/block_scout_web/test/block_scout_web/views/api_docs_view_test.exs @@ -6,8 +6,9 @@ defmodule BlockScoutWeb.ApiDocsViewTest do describe "blockscout_url/0" do test "returns url with scheme and host without port" do System.put_env("BLOCKSCOUT_HOST", "localhost") + System.put_env("NETWORK_PATH", "") - assert APIDocsView.blockscout_url() == "http://localhost/" + assert APIDocsView.blockscout_url() == "http://localhost" assert Endpoint.url() == "http://localhost:4002" end