fix CCI contract test

refs QUIZ-4638

We tried using simple values like '1' for course uuid and
lti_context_id, but Canvas won't serve API requests that point to
/api/v1/courses/uuid:1/quizzes/1, therefore we'll have to use
legitimate uuid values in order to verify the Quiz LTI contract
tests.

Change-Id: I8bed6fa32c15b7fc80adf203182e6abb61a2e587
Reviewed-on: https://gerrit.instructure.com/155672
Tested-by: Jenkins
Reviewed-by: David Tan <dtan@instructure.com>
QA-Review: David Tan <dtan@instructure.com>
Product-Review: Michael Hargiss <mhargiss@instructure.com>
This commit is contained in:
Michael Hargiss 2018-06-28 15:19:29 -06:00
parent dd68d00b44
commit fd18cc316b
1 changed files with 2 additions and 2 deletions

View File

@ -80,8 +80,8 @@ module Pact::Canvas
# overriding these because the random uuid and lti_context_id won't work
# with contract tests until we are able to use Pact provider_params
course.lti_context_id = '1'
course.uuid = '1'
course.lti_context_id = '9b4ef1eea0eb4c3498983e09a6ef88f1'
course.uuid = 'eylMsUDGR6aQDPCO5kOE6AGyH6ePPZLfV7CN1dV2'
course.save!
course
end