provide required moduleItem gql type

refs LS-3017
flag=none

test plan:
  - tests pass

qa risk: low

Change-Id: Ib823b0533e6126346adc14c76a2880eaff01f96a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/286070
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Omar Soto-Fortuño <omar.soto@instructure.com>
QA-Review: Omar Soto-Fortuño <omar.soto@instructure.com>
Product-Review: Omar Soto-Fortuño <omar.soto@instructure.com>
This commit is contained in:
Davis Hyer 2022-02-28 16:16:57 -07:00
parent 1190140d71
commit afac4e90a0
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,6 @@ const ignoredWarnings = [
/Error getting \/media_objects\/dummy_media_id\/info/,
/Exactly one focusable child is required/,
/Missing field errors in/,
/Missing field moduleItem in/,
/Please update the following components: %s/,
/shared_brand_configs.* not called/,
/Translation for .* is missing/,

View File

@ -375,7 +375,8 @@ describe('SubmissionManager', () => {
const successfulResponse = {
data: {
setModuleItemCompletion: {
__typename: ''
__typename: '',
moduleItem: null
}
},
errors: null