This commit is contained in:
Chris McCord 2021-12-14 21:09:36 -05:00
parent 803f0b52cc
commit 9958ba97d0

View file

@ -0,0 +1,17 @@
defmodule LiveBeatsWeb.SettingsLiveTest do
use LiveBeatsWeb.ConnCase
# import Phoenix.LiveViewTest
import LiveBeats.AccountsFixtures
setup %{conn: conn} do
current_user = user_fixture(%{username: "chrismccord"})
user2 = user_fixture(%{username: "mrkurt"})
conn = log_in_user(conn, current_user)
{:ok, conn: conn, current_user: current_user, user2: user2}
end
# test "updating settings", %{conn: conn, current_user: current_user} do
# # TODO
# end
end