Skip to content

Commit f9370df

Browse files
update tests
1 parent 7f788d4 commit f9370df

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

bin/testingbot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

test/cli_test.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff 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`);

0 commit comments

Comments
 (0)