canvas-lms/spec/graphql
Samuel Lee f5af977ec2 fix discussion edit endpoint to create checkpoint
fix the discussion edit endpoint to create
checkpoints if none are found. This is to allow
editing a non checkpointed discussion into a
checkpointed discussion

closes VICE-4216
flag=discussion_checkpoints
flag=discussion_create

Test Plan:
- have a graded discussion that is not
  checkpointed
- go to edit the discussion and make it a
  checkpointed discussion and input checkpoint
  settings values
- save the discussion
- go back to edit the discussion and see that
  the discussion is now checkpointed with the
  respective checkpoint settings values

Change-Id: If8d285fd4c168ed0d02bf07a5198003c25ac31b3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/345780
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Reviewed-by: Jason Gillett <jason.gillett@instructure.com>
Product-Review: Samuel Lee <samuel.lee@instructure.com>
2024-04-23 16:23:09 +00:00
..
loaders support group assignments for sg2 2024-04-19 17:45:39 +00:00
mutations fix discussion edit endpoint to create checkpoint 2024-04-23 16:23:09 +00:00
selenium Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
types Add submissionCommentDownloadUrl to submission interface 2024-04-23 16:21:22 +00:00
canvas_schema_spec.rb update rubocop, and apply new cops 2023-07-03 22:11:42 +00:00
graphql_helpers_spec.rb spec: remove manual requires of spec_helper 2021-10-26 20:38:27 +00:00
graphql_node_loader_spec.rb don't try to load EnrollmentTerm associations when term not found 2023-10-25 20:33:34 +00:00
graphql_spec_helper.rb remove unnecessary pre-loading of graphql schema 2024-04-15 20:48:28 +00:00
legacy_node_spec.rb update rubocop, and apply new cops 2023-07-03 22:11:42 +00:00
mutation_audit_log_spec.rb update rubocop, and apply new cops 2023-07-03 22:11:42 +00:00
postgres_statement_timeout_spec.rb remove graphql query timeout 2024-01-25 17:30:39 +00:00
token_scoping_spec.rb update rubocop, and apply new cops 2023-07-03 22:11:42 +00:00