@@ -105,7 +105,7 @@ describe('run-remote-query', function() {
105105
106106 } ) ;
107107
108- describe ( 'validateRepositories ' , ( ) => {
108+ describe ( 'attemptRerun ' , ( ) => {
109109 let sandbox : sinon . SinonSandbox ;
110110 let showAndLogErrorMessageSpy : sinon . SinonStub ;
111111 let showInformationMessageWithActionSpy : sinon . SinonStub ;
@@ -152,7 +152,7 @@ describe('run-remote-query', function() {
152152 const repositories = [ 'abc/def' , 'ghi/jkl' , 'mno/pqr' , 'stu/vwx' ] ;
153153
154154 // make the function call
155- await mod . validateRepositories ( error , credentials , ref , language , repositories , query ) ;
155+ await mod . attemptRerun ( error , credentials , ref , language , repositories , query ) ;
156156
157157 // check logging output
158158 expect ( logSpy . firstCall . args [ 0 ] ) . to . contain ( 'Unable to run query' ) ;
@@ -168,7 +168,7 @@ describe('run-remote-query', function() {
168168 showInformationMessageWithActionSpy . resolves ( true ) ;
169169
170170 // make the function call
171- await mod . validateRepositories ( error , credentials , ref , language , repositories , query ) ;
171+ await mod . attemptRerun ( error , credentials , ref , language , repositories , query ) ;
172172
173173 // check logging output
174174 expect ( logSpy . firstCall . args [ 0 ] ) . to . contain ( 'Unable to run query' ) ;
0 commit comments