Fixed utils spec

This commit is contained in:
Phil Hughes 2018-09-19 22:23:13 +01:00 committed by André Luís
parent 78f64e83ab
commit f1a3eff8d5
1 changed files with 2 additions and 1 deletions

View File

@ -136,7 +136,7 @@ describe('DiffsStoreUtils', () => {
note_project_id: '', note_project_id: '',
target_type: options.noteableType, target_type: options.noteableType,
target_id: options.noteableData.id, target_id: options.noteableData.id,
return_discussion: 'true', return_discussion: true,
note: { note: {
noteable_type: options.noteableType, noteable_type: options.noteableType,
noteable_id: options.noteableData.id, noteable_id: options.noteableData.id,
@ -195,6 +195,7 @@ describe('DiffsStoreUtils', () => {
note_project_id: '', note_project_id: '',
target_type: options.noteableType, target_type: options.noteableType,
target_id: options.noteableData.id, target_id: options.noteableData.id,
return_discussion: true,
note: { note: {
noteable_type: options.noteableType, noteable_type: options.noteableType,
noteable_id: options.noteableData.id, noteable_id: options.noteableData.id,