Skip to content

Commit 7bb9072

Browse files
fixing tests
1 parent a59d15e commit 7bb9072

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/radiator_web/live/admin_live_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ defmodule RadiatorWeb.AdminLiveTest do
3434

3535
{:ok, conn} =
3636
live
37-
|> element(~s{main a[href="/admin/podcast/#{show.id}"]})
37+
|> element(~s{a[href="/admin/podcast/#{show.id}"]})
3838
|> render_click()
3939
|> follow_redirect(conn, ~p"/admin/podcast/#{show.id}")
4040

test/radiator_web/live/episode_live_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ defmodule RadiatorWeb.EpisodeLiveTest do
1414
user = user_fixture()
1515
{:ok, _live, html} = conn |> log_in_user(user) |> live(~p"/admin/podcast/#{show.id}")
1616

17-
assert html =~ "#{show.title}</h1>"
17+
assert html =~ "#{show.title}</h4>"
1818
end
1919

2020
test "redirects if user is not logged in", %{conn: conn, show: show} do

0 commit comments

Comments
 (0)