fix liveview test

This commit is contained in:
Lili (Tlapka) 2021-09-22 14:30:56 +02:00
parent 83325adf09
commit 15fddac27d
1 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
defmodule PokemonCoutureWeb.ClothesTrackerLiveTest do defmodule PokemonCoutureWeb.ClothesTrackerLiveTest do
# import Plug.Conn import Plug.Conn
# use PokemonCoutureWeb.ConnCase use PokemonCoutureWeb.ConnCase
# import Phoenix.LiveViewTest import Phoenix.LiveViewTest
import PokemonCouture.AccountsFixtures import PokemonCouture.AccountsFixtures
@endpoint PokemonCoutureWeb.Endpoint @endpoint PokemonCoutureWeb.Endpoint
@ -11,7 +11,7 @@ defmodule PokemonCoutureWeb.ClothesTrackerLiveTest do
test "logged in user sees page", %{conn: conn} do test "logged in user sees page", %{conn: conn} do
conn = conn |> log_in_user(user_fixture()) conn = conn |> log_in_user(user_fixture())
{:ok, view, html} = live(conn, "/tracker") {:ok, _view, html} = live(conn, "/tracker")
assert html =~ "Listing Clothes" assert html =~ "Listing Clothes"
end end
end end