canvas-lms/spec/shared_examples
Gary Mei 5092c50af6 fix user_id returning for anonymous peer reviewers
Commenting as an anonymous peer reviewer will no longer return in the
json response the user_id of the student being reviewed.

fixes GRADE-2150

Test Plan
- Create an anonymous peer review assignment.
- Assign Student A to peer review Student B.
- As Student A, submit for the assignment.
- As Student A, leave a comment for Student B during the peer review.
- Verify that, in the network response for the comment, Student B's
  user_id is not included in the submission object.

Change-Id: I4caa44736744553c165174836ca94d4a9676de71
Reviewed-on: https://gerrit.instructure.com/207438
Tested-by: Jenkins
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Reviewed-by: Adrian Packel <apackel@instructure.com>
QA-Review: Derek Bender <djbender@instructure.com>
Product-Review: Keith Garner <kgarner@instructure.com>
2019-09-04 19:42:55 +00:00
..
anonymous_moderated_marking stop using anonymous moderated marking feature flag 2018-06-12 20:58:47 +00:00
learning_outcome_context.rb update root outcome group name alongside context 2018-02-12 19:09:33 +00:00
multiple_grading_periods_within_controller.rb da licença part 59 2017-05-01 21:11:16 +00:00
provisional_grades.rb remove moderate_grades permission checks 2018-07-31 15:04:22 +00:00
soft_deletion.rb make ScoreMetadata soft deleteable 2018-02-09 19:33:48 +00:00
update_submission.rb fix user_id returning for anonymous peer reviewers 2019-09-04 19:42:55 +00:00