File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -2889,16 +2889,22 @@ describe('mutation createMultipleSourcePosts', () => {
28892889 mutation CreateMultipleSourcePosts(
28902890 $sourceIds: [ID!]!
28912891 $title: String
2892+ $commentary: String
2893+ $imageUrl: String
28922894 $content: String
28932895 $image: Upload
28942896 $sharedPostId: ID
2897+ $externalLink: String
28952898 ) {
28962899 createMultipleSourcePosts(
28972900 sourceIds: $sourceIds
28982901 title: $title
2902+ commentary: $commentary
2903+ imageUrl: $imageUrl
28992904 content: $content
29002905 image: $image
29012906 sharedPostId: $sharedPostId
2907+ externalLink: $externalLink
29022908 ) {
29032909 id
29042910 sourceId
@@ -3240,10 +3246,10 @@ describe('mutation createMultipleSourcePosts', () => {
32403246 . getRepository ( SourcePostModeration )
32413247 . findOneOrFail ( {
32423248 where : { id : addedModerationItem . id } ,
3243- select : [ 'flags' , 'createdBy ' , 'sourceId' ] ,
3249+ select : [ 'flags' , 'createdById ' , 'sourceId' ] ,
32443250 } ) ;
32453251 expect ( moderationItem . flags . warningReason ) . toBeFalsy ( ) ;
3246- expect ( moderationItem . createdBy ) . toEqual ( '1' ) ;
3252+ expect ( moderationItem . createdById ) . toEqual ( '1' ) ;
32473253 expect ( moderationItem . sourceId ) . toEqual ( 'm' ) ;
32483254 } ) ;
32493255 } ) ;
You can’t perform that action at this time.
0 commit comments