0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-17 22:04:19 -05:00

fix(test): fix tests

This commit is contained in:
Darcy Ye 2024-03-06 14:16:43 +08:00
parent 754d425a60
commit e327754008
No known key found for this signature in database
GPG key ID: B46F4C07EDEFC610

View file

@ -139,7 +139,7 @@ describe('admin console sign-in experience', () => {
};
await expectRejects(getJwtCustomizer('access-token'), {
code: 'entity.not_found',
code: 'entity.not_exists',
statusCode: 404,
});
const accessToken = await upsertJwtCustomizer('access-token', accessTokenJwtCustomizerPayload);
@ -166,7 +166,7 @@ describe('admin console sign-in experience', () => {
};
await expectRejects(getJwtCustomizer('client-credentials'), {
code: 'entity.not_found',
code: 'entity.not_exists',
statusCode: 404,
});
const clientCredentials = await upsertJwtCustomizer(