Skip to content

Commit 0e7ab7d

Browse files
committed
Fix changeset tests
1 parent 5079f20 commit 0e7ab7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/cadet_web/admin_controllers/admin_sourcecast_controller_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ defmodule CadetWeb.AdminSourcecastControllerTest do
180180
conn = post(conn, build_url(course_id), %{"sourcecast" => %{}})
181181

182182
assert response(conn, 400) =~
183-
"audio can't be blank\nplaybackData can't be blank\ntitle can't be blank"
183+
"title can't be blank\naudio can't be blank\nplaybackData can't be blank"
184184
end
185185
end
186186

test/cadet_web/admin_controllers/admin_stories_controller_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ defmodule CadetWeb.AdminStoriesControllerTest do
122122
conn = post(conn, build_url(course_id), %{"story" => %{}})
123123

124124
assert response(conn, 400) ==
125-
"close_at can't be blank\nfilenames can't be blank\nopen_at can't be blank\ntitle can't be blank"
125+
"title can't be blank\nclose_at can't be blank\nopen_at can't be blank\nfilenames can't be blank"
126126
end
127127
end
128128

0 commit comments

Comments
 (0)