We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c9893b commit 1880897Copy full SHA for 1880897
test/cadet_web/admin_controllers/admin_grading_controller_test.exs
@@ -1099,7 +1099,7 @@ defmodule CadetWeb.AdminGradingControllerTest do
1099
|> sign_in(staff.user)
1100
|> post(build_url_unpublish_all(course.id, assessment_id))
1101
1102
- assert response(conn, 403) == "Only Admin is permitted to unpublish all grades"
+ assert response(conn, 403) == "Forbidden"
1103
end
1104
1105
@@ -1135,7 +1135,7 @@ defmodule CadetWeb.AdminGradingControllerTest do
1135
1136
|> post(build_url_publish_all(course.id, assessment_id))
1137
1138
- assert response(conn, 403) == "Only Admin is permitted to publish all grades"
1139
1140
1141
0 commit comments