canvas-lms/lib/outcomes
Michael Brewer-Davis 8fa3360f89 do not include hidden results in rollups
closes OUT-1846

Test plan:
- create an outcome
- create two assignments with rubrics including
  the outcome
- set one of the rubrics to "Don't post results to LMGB"
- assess a student using both rubrics with different scores
- visit the LMGB
- verify that only the non-hidden score is reflected
  in the LMGB
- visit the student LMGB
- verify that only the non-hidden alignment is shown
  in the student lmgb
- visit
    http://canvas.docker/api/v1/courses/COURSE_ID/outcome_results?user_ids[]=USER_ID&outcome_ids[]=OUTCOME_ID
  (replacing COURSE_ID, USER_ID and OUTCOME_ID)
- verify that hidden alignment is not shown
- add
    &include_hidden=true
  to the above URL
- verify that hidden alignment is now shown

Change-Id: Ie08c63f32686ffc42394e926c22eac773799d616
Reviewed-on: https://gerrit.instructure.com/154464
Tested-by: Jenkins
Reviewed-by: Frank Murphy <fmurphy@instructure.com>
Reviewed-by: Augusto Callejas <acallejas@instructure.com>
QA-Review: Augusto Callejas <acallejas@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-06-21 16:39:27 +00:00
..
csv_importer.rb resolve outcome import/export errors 2018-06-05 13:30:48 +00:00
import.rb resolve outcome import/export errors 2018-06-05 13:30:48 +00:00
result_analytics.rb do not include hidden results in rollups 2018-06-21 16:39:27 +00:00