File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
apps/sim/app/api/auth/oauth Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,6 @@ describe('OAuth Utils', () => {
166166 accountId : 'account-id' ,
167167 workspaceId : 'workspace-id' ,
168168 }
169- const mockCredentialRow = { type : 'oauth' , accountId : 'account-id' }
170169 const mockAccountRow = {
171170 id : 'account-id' ,
172171 accessToken : 'valid-token' ,
@@ -176,7 +175,6 @@ describe('OAuth Utils', () => {
176175 userId : 'test-user-id' ,
177176 }
178177 mockSelectChain ( [ mockResolvedCredential ] )
179- mockSelectChain ( [ mockCredentialRow ] )
180178 mockSelectChain ( [ mockAccountRow ] )
181179
182180 const token = await refreshAccessTokenIfNeeded ( 'credential-id' , 'test-user-id' , 'request-id' )
@@ -192,7 +190,6 @@ describe('OAuth Utils', () => {
192190 accountId : 'account-id' ,
193191 workspaceId : 'workspace-id' ,
194192 }
195- const mockCredentialRow = { type : 'oauth' , accountId : 'account-id' }
196193 const mockAccountRow = {
197194 id : 'account-id' ,
198195 accessToken : 'expired-token' ,
@@ -202,7 +199,6 @@ describe('OAuth Utils', () => {
202199 userId : 'test-user-id' ,
203200 }
204201 mockSelectChain ( [ mockResolvedCredential ] )
205- mockSelectChain ( [ mockCredentialRow ] )
206202 mockSelectChain ( [ mockAccountRow ] )
207203 mockUpdateChain ( )
208204
You can’t perform that action at this time.
0 commit comments