provide correct outcomesGroup.contextId prop type

flag=none

test plan:
  - specs pass

qa risk: low

Change-Id: If3632e2e0c9ed713606364ee2833a5dde95f8db5
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/274131
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 2021-09-22 09:21:58 -06:00
parent c4106bd532
commit bd974054fa
2 changed files with 1 additions and 2 deletions

View File

@ -69,7 +69,6 @@ const ignoredErrors = [
/Invalid prop `heading` of type `object` supplied to `Billboard`/, // https://instructure.atlassian.net/browse/QUIZ-8870
/Invalid prop `headingAs` of value `h4` supplied to `Billboard`/,
/Invalid prop `id` of type `number` supplied to `Option`/,
/Invalid prop `outcomesGroup.contextId` of type `number` supplied to `FindOutcomesView`, expected `string`/,
/Invalid prop `returnFocusTo` of type `DeprecatedComponent` supplied to `(CourseHomeDialog|HomePagePromptContainer)`/,
/Invalid prop `selectedDate` of type `date` supplied to `CanvasDateInput`/,
/Invalid prop `shares\[0\].content_export.id` of type `number` supplied to `ReceivedTable`/,

View File

@ -975,7 +975,7 @@ export const findOutcomesMocks = ({
outcomeIsImported = true,
contextType = 'Account',
contextId = '1',
outcomesGroupContextId = 1,
outcomesGroupContextId = '1',
outcomesGroupContextType = 'Account',
searchQuery = 'mathematics',
outcomesCount = 25