Merge pull request #2284 from poanetwork/ab-not-found-status
add 404 status for not existing pagespull/2283/head
commit
0759d4dbc7
@ -0,0 +1,11 @@ |
||||
defmodule BlockScoutWeb.PageNotFoundControllerTest do |
||||
use BlockScoutWeb.ConnCase |
||||
|
||||
describe "GET index/2" do |
||||
test "returns 404 status", %{conn: conn} do |
||||
conn = get(conn, "/wrong", %{}) |
||||
|
||||
assert html_response(conn, 404) |
||||
end |
||||
end |
||||
end |
Loading…
Reference in new issue