chore: update phoenix to version 1.8.0-rc.3
This commit is contained in:
parent
5b6e5713ec
commit
fb9a3cd063
28 changed files with 1769 additions and 674 deletions
|
|
@ -2,7 +2,7 @@ defmodule MvWeb.ErrorHTMLTest do
|
|||
use MvWeb.ConnCase, async: true
|
||||
|
||||
# Bring render_to_string/4 for testing custom views
|
||||
import Phoenix.Template
|
||||
import Phoenix.Template, only: [render_to_string: 4]
|
||||
|
||||
test "renders 404.html" do
|
||||
assert render_to_string(MvWeb.ErrorHTML, "404", "html", []) == "Not Found"
|
||||
|
|
|
|||
|
|
@ -31,8 +31,7 @@ defmodule MvWeb.ConnCase do
|
|||
end
|
||||
end
|
||||
|
||||
setup tags do
|
||||
Mv.DataCase.setup_sandbox(tags)
|
||||
setup _tags do
|
||||
{:ok, conn: Phoenix.ConnTest.build_conn()}
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
ExUnit.start()
|
||||
Ecto.Adapters.SQL.Sandbox.mode(Mv.Repo, :manual)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue