canvas-lms/spec/graphql
Adrian Packel b0b790299d Have setOverrideScore update other enrollments
fixes GRADE-1991

Test plan:
- Grant a student multiple enrollments in a single course
  - Take note of the enrollment IDs
- Set an override score for that student in the gradebook
  (for "All Grading Periods"), or use the endpoint below
- In a Rails console, locate the scores for that student:
  > Score.where(enrollment_id: <enrollment IDs>, course_score: true)
- Their override_score values should match the score you set

(Alternatively, you can set the score by opening the /graphiql endpoint
in your browser and running:

mutation {
  setOverrideScore(input: {
      enrollmentId: <enrollmentID>
      overrideScore: <a score>}
  ) {
    grades {
      overrideScore
    }
    errors {
      attribute
      message
    }
  }
}

)

Change-Id: I80402733202e5772463b04a3cecb819f1ec0158d
Reviewed-on: https://gerrit.instructure.com/180250
Tested-by: Jenkins
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Reviewed-by: Keith Garner <kgarner@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: Keith Garner <kgarner@instructure.com>
2019-02-04 22:51:41 +00:00
..
loaders graphql: make loaders shard-aware 2018-04-18 20:03:18 +00:00
mutations Have setOverrideScore update other enrollments 2019-02-04 22:51:41 +00:00
selenium [ci selinimum capture] Revert "re-add and disable graphql feature flag" 2018-03-07 20:15:45 +00:00
types Add submission comments to graphql query using data loader 2019-02-04 16:53:51 +00:00
assignment_override_instrumenter_spec.rb graphql: make assignment override instrumenter work 2018-03-06 16:54:50 +00:00
graphql_helpers_spec.rb syntax error patch for graphql_helpers_spec.rb 2017-11-01 14:49:43 +00:00
legacy_node_spec.rb add endpoint for setting post policies 2019-02-01 20:23:39 +00:00