@@ -126,6 +126,8 @@ describe('run-remote-query', function() {
126126 const language = 'javascript' ;
127127 const credentials = getMockCredentials ( 0 ) ;
128128 const query = 'select 1' ;
129+ const owner = 'owner' ;
130+ const repo = 'repo' ;
129131
130132 beforeEach ( ( ) => {
131133 sandbox = sinon . createSandbox ( ) ;
@@ -152,7 +154,7 @@ describe('run-remote-query', function() {
152154 const repositories = [ 'abc/def' , 'ghi/jkl' , 'mno/pqr' , 'stu/vwx' ] ;
153155
154156 // make the function call
155- await mod . attemptRerun ( error , credentials , ref , language , repositories , query ) ;
157+ await mod . attemptRerun ( error , credentials , ref , language , repositories , query , owner , repo ) ;
156158
157159 // check logging output
158160 expect ( logSpy . firstCall . args [ 0 ] ) . to . contain ( 'Unable to run query' ) ;
@@ -168,7 +170,7 @@ describe('run-remote-query', function() {
168170 showInformationMessageWithActionSpy . resolves ( true ) ;
169171
170172 // make the function call
171- await mod . attemptRerun ( error , credentials , ref , language , repositories , query ) ;
173+ await mod . attemptRerun ( error , credentials , ref , language , repositories , query , owner , repo ) ;
172174
173175 // check logging output
174176 expect ( logSpy . firstCall . args [ 0 ] ) . to . contain ( 'Unable to run query' ) ;
0 commit comments