@@ -110,6 +110,7 @@ test.serial('Make multiple search queries if necessary', async t => {
110
110
{ hash : repeat ( 'd' , 40 ) , message : 'Commit 4 message' } ,
111
111
{ hash : repeat ( 'e' , 40 ) , message : 'Commit 5 message' } ,
112
112
{ hash : repeat ( 'f' , 40 ) , message : 'Commit 6 message' } ,
113
+ { hash : repeat ( 'g' , 40 ) , message : 'Commit 6 message' } ,
113
114
] ;
114
115
const nextRelease = { version : '1.0.0' } ;
115
116
const releases = [ { name : 'GitHub release' , url : 'https://github.com/release' } ] ;
@@ -120,8 +121,10 @@ test.serial('Make multiple search queries if necessary', async t => {
120
121
} +${ commits [ 3 ] . hash } +${ commits [ 4 ] . hash } `
121
122
)
122
123
. reply ( 200 , { items : [ prs [ 0 ] , prs [ 1 ] , prs [ 2 ] , prs [ 3 ] , prs [ 4 ] ] } )
123
- . get ( `/search/issues?q=${ escape ( `repo:${ owner } /${ repo } ` ) } +${ escape ( 'type:pr' ) } +${ commits [ 5 ] . hash } ` )
124
- . reply ( 200 , { items : [ prs [ 5 ] ] } )
124
+ . get (
125
+ `/search/issues?q=${ escape ( `repo:${ owner } /${ repo } ` ) } +${ escape ( 'type:pr' ) } +${ commits [ 5 ] . hash } +${ commits [ 6 ] . hash } `
126
+ )
127
+ . reply ( 200 , { items : [ prs [ 5 ] , prs [ 1 ] ] } )
125
128
. post ( `/repos/${ owner } /${ repo } /issues/1/comments` , { body : / T h i s P R i s i n c l u d e d / } )
126
129
. reply ( 200 , { html_url : 'https://github.com/successcomment-1' } )
127
130
. post ( `/repos/${ owner } /${ repo } /issues/2/comments` , { body : / T h i s P R i s i n c l u d e d / } )
0 commit comments