This commit is contained in:
Chris McCord 2021-12-14 15:31:02 -05:00
parent 570e86d02c
commit b2950adb2a

View file

@ -14,6 +14,7 @@ defmodule LiveBeatsWeb.ProfileLiveTest do
{:ok, conn: conn, current_user: current_user, user2: user2}
end
describe "own profile" do
test "profile page uploads", %{conn: conn, current_user: current_user} do
profile = MediaLibrary.get_profile!(current_user)
{:ok, lv, dead_html} = live(conn, LiveHelpers.profile_path(current_user))
@ -67,3 +68,8 @@ defmodule LiveBeatsWeb.ProfileLiveTest do
refute render(refreshed_lv) =~ "silence1s"
end
end
describe "viewing other profiles" do
# TODO
end
end