Skip to content

Transfer groundControl (and admin panel) from staff to admin route #1606

Transfer groundControl (and admin panel) from staff to admin route

Transfer groundControl (and admin panel) from staff to admin route #1606

Triggered via pull request September 29, 2024 16:26
Status Failure
Total duration 3m 23s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 16 warnings
Run CI: test/cadet_web/admin_controllers/admin_grading_controller_test.exs#L1114
test POST /:assessmentid/publish_all_grades successful (CadetWeb.AdminGradingControllerTest)
Run CI: test/cadet_web/admin_controllers/admin_grading_controller_test.exs#L1078
test POST /:assessmentid/unpublish_all_grades successful (CadetWeb.AdminGradingControllerTest)
Run CI: test/cadet_web/admin_controllers/admin_grading_controller_test.exs#L1126
test POST /:assessmentid/publish_all_grades staff not allowed to publish all grades (CadetWeb.AdminGradingControllerTest)
Run CI: test/cadet_web/admin_controllers/admin_grading_controller_test.exs#L1090
test POST /:assessmentid/unpublish_all_grades staff not allowed to unpublish all grades (CadetWeb.AdminGradingControllerTest)
Run CI: test/cadet_web/admin_controllers/admin_user_controller_test.exs#L442
test PUT /v2/courses/{course_id}/admin/users/{course_reg_id}/role fails, when staff attempts to make a role change (CadetWeb.AdminUserControllerTest)
Run CI: test/cadet_web/admin_controllers/admin_user_controller_test.exs#L506
test DELETE /v2/courses/{course_id}/admin/users/{course_reg_id} fails when staff tries to delete user (CadetWeb.AdminUserControllerTest)
Run CI: test/cadet_web/admin_controllers/admin_assessments_controller_test.exs#L797
test POST /:assessment_id, staff only successful, set open time to before current time (CadetWeb.AdminAssessmentsControllerTest)
Run CI: test/cadet_web/admin_controllers/admin_assessments_controller_test.exs#L752
test POST /:assessment_id, staff only successful, set close time to before current time (CadetWeb.AdminAssessmentsControllerTest)
Run CI: test/cadet_web/admin_controllers/admin_assessments_controller_test.exs#L877
test POST /:assessment_id, staff only successful, set hasTokenCounter and hasVotingFeatures to false (CadetWeb.AdminAssessmentsControllerTest)
Run CI: test/cadet_web/admin_controllers/admin_assessments_controller_test.exs#L501
test DELETE /:assessment_id, staff only error due to different course (CadetWeb.AdminAssessmentsControllerTest)
Run CI
router paths should begin with a forward slash, got: ""
Run CI: priv/repo/migrations/20210531155751_multitenant_upgrade.exs#L201
variable "configs" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run CI
:included_environments option is deprecated. Use :dsn to control whether to send events to Sentry.
Run CI
CadetWeb.Endpoint.init/2 is deprecated, use config/runtime.exs instead or pass additional options when starting the endpoint in your supervision tree
Run CI: priv/repo/seeds.exs#L87
variable "i" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run CI: priv/repo/seeds.exs#L121
variable "i" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run CI
:included_environments option is deprecated. Use :dsn to control whether to send events to Sentry.
Run CI
CadetWeb.Endpoint.init/2 is deprecated, use config/runtime.exs instead or pass additional options when starting the endpoint in your supervision tree
Run CI: test/cadet/assessments/assessments_test.exs#L2226
variable "assessments" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run CI: test/cadet_web/plug/rate_limiter_test.exs#L25
variable "key" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run CI: test/cadet_web/plug/rate_limiter_test.exs#L3
unused import Plug.Conn
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.