@@ -21,7 +21,6 @@ suite('OpenShift/Storage', () => {
2121 let execStub : sinon . SinonStub ;
2222 let quickPickStub : sinon . SinonStub ;
2323 let inputStub : sinon . SinonStub ;
24- let getProjectNamesStub : sinon . SinonStub ;
2524 let getProjectsStub : sinon . SinonStub ;
2625 let getStorageNamesStub : sinon . SinonStub ;
2726 const projectItem = new TestItem ( null , 'project' , ContextType . PROJECT ) ;
@@ -49,7 +48,6 @@ suite('OpenShift/Storage', () => {
4948 getProjectsStub = sandbox . stub ( OdoImpl . prototype , 'getProjects' ) . resolves ( [ projectItem ] ) ;
5049 quickPickStub . onFirstCall ( ) . resolves ( appItem ) ;
5150 quickPickStub . onSecondCall ( ) . resolves ( componentItem ) ;
52- getProjectNamesStub = sandbox . stub ( OpenShiftItem , 'getProjectNames' ) . resolves ( [ projectItem ] ) ;
5351 sandbox . stub ( OpenShiftItem , 'getApplicationNames' ) . resolves ( [ appItem ] ) ;
5452 sandbox . stub ( OdoImpl . prototype , 'getApplicationChildren' ) . resolves ( [ componentItem ] ) ;
5553 inputStub = sandbox . stub ( vscode . window , 'showInputBox' ) ;
@@ -64,7 +62,6 @@ suite('OpenShift/Storage', () => {
6462
6563 test ( 'calls the appropriate error message if no project found' , async ( ) => {
6664 quickPickStub . restore ( ) ;
67- getProjectNamesStub . restore ( ) ;
6865 getProjectsStub . restore ( ) ;
6966 sandbox . stub ( OdoImpl . prototype , 'getProjects' ) . resolves ( [ ] ) ;
7067 sandbox . stub ( vscode . window , 'showErrorMessage' ) ;
@@ -286,7 +283,6 @@ suite('OpenShift/Storage', () => {
286283 let warnStub : sinon . SinonStub ;
287284
288285 setup ( ( ) => {
289- getProjectNamesStub = sandbox . stub ( OpenShiftItem , 'getProjectNames' ) . resolves ( [ projectItem ] ) ;
290286 sandbox . stub ( OpenShiftItem , 'getApplicationNames' ) . resolves ( [ appItem ] ) ;
291287 sandbox . stub ( OpenShiftItem , 'getStorageNames' ) . resolves ( [ storageItem ] ) ;
292288 sandbox . stub ( OdoImpl . prototype , 'getProjects' ) . resolves ( [ projectItem ] ) ;
0 commit comments