Fix rest test

This commit is contained in:
Adria Navarro 2025-03-20 17:35:53 +01:00
parent 52bf5dc8af
commit 9b0660ee27
1 changed files with 2 additions and 2 deletions

View File

@ -307,7 +307,7 @@ describe("REST Integration", () => {
config.appId, config.appId,
async () => async () =>
await integration.read({ await integration.read({
authConfigId: oauthConfig.id, authConfigId: oauthConfig._id,
authConfigType: RestAuthType.OAUTH2, authConfigType: RestAuthType.OAUTH2,
}) })
) )
@ -349,7 +349,7 @@ describe("REST Integration", () => {
config.appId, config.appId,
async () => async () =>
await integration.read({ await integration.read({
authConfigId: oauthConfig.id, authConfigId: oauthConfig._id,
authConfigType: RestAuthType.OAUTH2, authConfigType: RestAuthType.OAUTH2,
}) })
) )