Skip to content

Commit fac5f63

Browse files
author
Theodore Li
committed
Fix bad test
1 parent 3692894 commit fac5f63

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

apps/sim/app/api/auth/oauth/utils.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ describe('OAuth Utils', () => {
231231
accountId: 'account-id',
232232
workspaceId: 'workspace-id',
233233
}
234-
const mockCredentialRow = { type: 'oauth', accountId: 'account-id' }
235234
const mockAccountRow = {
236235
id: 'account-id',
237236
accessToken: 'expired-token',
@@ -241,7 +240,6 @@ describe('OAuth Utils', () => {
241240
userId: 'test-user-id',
242241
}
243242
mockSelectChain([mockResolvedCredential])
244-
mockSelectChain([mockCredentialRow])
245243
mockSelectChain([mockAccountRow])
246244

247245
mockRefreshOAuthToken.mockResolvedValueOnce(null)

0 commit comments

Comments
 (0)