File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ const commands = {
280280 } ,
281281 list : ( offset = 0 , limit = 10 ) => {
282282 checkCredentials ( ) ;
283- api . getScreenshots ( parseInt ( offset ) , parseInt ( limit ) , outputResult ) ;
283+ api . getScreenshotList ( parseInt ( offset ) , parseInt ( limit ) , outputResult ) ;
284284 }
285285 } ,
286286
Original file line number Diff line number Diff line change @@ -446,16 +446,6 @@ describe('TestingBot CLI Tests', function () {
446446 assert ( data ) ;
447447 } ) ;
448448
449- it ( 'should list team users' , async function ( ) {
450- if ( ! process . env . TB_KEY || ! process . env . TB_SECRET ) {
451- this . skip ( ) ;
452- }
453-
454- const { stdout } = await execAsync ( `TB_KEY=${ process . env . TB_KEY } TB_SECRET=${ process . env . TB_SECRET } ${ binaryPath } team users` ) ;
455- const data = JSON . parse ( stdout ) ;
456- assert ( Array . isArray ( data ) ) ;
457- } ) ;
458-
459449 it ( 'should error when user ID is missing for get-user' , async function ( ) {
460450 try {
461451 await execAsync ( `TB_KEY=${ process . env . TB_KEY } TB_SECRET=${ process . env . TB_SECRET } ${ binaryPath } team get-user` ) ;
You can’t perform that action at this time.
0 commit comments