Skip to content

Commit fd885f2

Browse files
committed
test(oauth): cover hyphenated Microsoft service IDs in rotation test
1 parent 7eded6c commit fd885f2

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

apps/sim/lib/oauth/oauth.test.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,17 @@ describe('OAuth Token Refresh', () => {
392392
it.concurrent(
393393
'should rotate refresh token for Microsoft providers (microsoft, outlook, onedrive, sharepoint)',
394394
async () => {
395-
const microsoftProviders = ['microsoft', 'outlook', 'onedrive', 'sharepoint']
395+
const microsoftProviders = [
396+
'microsoft',
397+
'outlook',
398+
'onedrive',
399+
'sharepoint',
400+
'microsoft-excel',
401+
'microsoft-teams',
402+
'microsoft-planner',
403+
'microsoft-ad',
404+
'microsoft-dataverse',
405+
]
396406
const oldRefreshToken = 'old_microsoft_refresh_token'
397407
const rotatedRefreshToken = 'rotated_microsoft_refresh_token'
398408

0 commit comments

Comments
 (0)