From 3c2ea51519289392ff8910466c060b538601114c Mon Sep 17 00:00:00 2001 From: DavidGOrtega Date: Wed, 18 May 2022 00:36:30 +0200 Subject: [PATCH] fix test --- src/drivers/bitbucket_cloud.test.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/drivers/bitbucket_cloud.test.js b/src/drivers/bitbucket_cloud.test.js index 435314636..adb331142 100644 --- a/src/drivers/bitbucket_cloud.test.js +++ b/src/drivers/bitbucket_cloud.test.js @@ -35,9 +35,8 @@ describe('Non Enviromental tests', () => { }); test('Runner token', async () => { - await expect(client.runnerToken()).rejects.toThrow( - 'Bitbucket Cloud does not support runnerToken!' - ); + const token = await client.runnerToken(); + await expect(token).toBe('DUMMY'); }); test('updateGitConfig', async () => {