Skip to content

Commit

Permalink
Fix tests for changed route
Browse files Browse the repository at this point in the history
  • Loading branch information
LostKobrakai committed Dec 15, 2024
1 parent 8c69ca2 commit ffdbec9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/kobrakai_web/controllers/video_controller_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ defmodule KobrakaiWeb.VideoControllerTest do
Req.Test.json(conn, %{data: [%{id: "12345", published_at: "2024-11-05T10:00:00"}]})
end)

conn = get(conn, ~p"/video")
conn = get(conn, ~p"/videos")

assert html = html_response(conn, 200)

assert html =~ ~p"/video/12345"
assert html =~ ~p"/videos/12345"
end
end
end

0 comments on commit ffdbec9

Please sign in to comment.