Import only necessary functions from LiveViewTest
So that we don't clash with the imports of PhoenixTest
This commit is contained in:
@@ -29,6 +29,7 @@ defmodule MusicLibraryWeb.ConnCase do
|
||||
import Phoenix.ConnTest
|
||||
import MusicLibraryWeb.ConnCase
|
||||
import PhoenixTest
|
||||
import Phoenix.LiveViewTest, only: [render: 1, render_async: 1]
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user