Skip to content

Commit d067c7e

Browse files
committed
Client Secret
1 parent 7707498 commit d067c7e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/api/src/clients/bot/token.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ describe('BotTokenClient', () => {
99
const spy = jest.spyOn(http, 'post').mockResolvedValueOnce({});
1010

1111
await client.get({
12+
type: 'clientSecret',
1213
clientId: 'test',
1314
clientSecret: '123',
1415
});
@@ -25,6 +26,7 @@ describe('BotTokenClient', () => {
2526
const spy = jest.spyOn(client.http, 'post').mockResolvedValueOnce({});
2627

2728
await client.get({
29+
type: 'clientSecret',
2830
clientId: 'test',
2931
clientSecret: '123',
3032
});
@@ -42,6 +44,7 @@ describe('BotTokenClient', () => {
4244
const spy = jest.spyOn(client.http, 'post').mockResolvedValueOnce({});
4345

4446
await client.get({
47+
type: 'clientSecret',
4548
clientId: 'test',
4649
clientSecret: '123',
4750
});
@@ -58,6 +61,7 @@ describe('BotTokenClient', () => {
5861
const spy = jest.spyOn(client.http, 'post').mockResolvedValueOnce({});
5962

6063
await client.get({
64+
type: 'clientSecret',
6165
clientId: 'test',
6266
clientSecret: '123',
6367
tenantId: 'test-tenant',
@@ -77,6 +81,7 @@ describe('BotTokenClient', () => {
7781
const spy = jest.spyOn(client.http, 'post').mockResolvedValueOnce({});
7882

7983
await client.getGraph({
84+
type: 'clientSecret',
8085
clientId: 'test',
8186
clientSecret: '123',
8287
});
@@ -93,6 +98,7 @@ describe('BotTokenClient', () => {
9398
const spy = jest.spyOn(client.http, 'post').mockResolvedValueOnce({});
9499

95100
await client.getGraph({
101+
type: 'clientSecret',
96102
clientId: 'test',
97103
clientSecret: '123',
98104
tenantId: 'test-tenant',

0 commit comments

Comments
 (0)