Update Institution.ts #455
Annotations
10 errors and 2 warnings
test/modules/assign_user/app/assing_user.test.ts > Assign User Presenter > Should unassigned user:
src/core/helpers/functions/token_auth.ts#L22
Error: secretOrPrivateKey must have a value
❯ Object.module.exports [as sign] node_modules/jsonwebtoken/sign.js:111:20
❯ TokenAuth.generate_token src/core/helpers/functions/token_auth.ts:22:20
❯ test/modules/assign_user/app/assing_user.test.ts:18:33
|
test/modules/assign_user/app/assing_user.test.ts > Assign User Presenter > Should assign user:
src/core/helpers/functions/token_auth.ts#L22
Error: secretOrPrivateKey must have a value
❯ Object.module.exports [as sign] node_modules/jsonwebtoken/sign.js:111:20
❯ TokenAuth.generate_token src/core/helpers/functions/token_auth.ts:22:20
❯ test/modules/assign_user/app/assing_user.test.ts:38:33
|
test/modules/assign_user/app/assing_user.test.ts > Assign User Presenter > Shouldn assign admin user:
src/core/helpers/functions/token_auth.ts#L22
Error: secretOrPrivateKey must have a value
❯ Object.module.exports [as sign] node_modules/jsonwebtoken/sign.js:111:20
❯ TokenAuth.generate_token src/core/helpers/functions/token_auth.ts:22:20
❯ test/modules/assign_user/app/assing_user.test.ts:57:33
|
test/modules/auth_user/app/auth_user.test.ts > Testing Auth User Presenter > should not authenticated user with invalid token:
test/modules/auth_user/app/auth_user.test.ts#L15
AssertionError: expected 'Invalid URL' to be 'Invalid or expired token.' // Object.is equality
- Expected
+ Received
- Invalid or expired token.
+ Invalid URL
❯ test/modules/auth_user/app/auth_user.test.ts:15:51
|
test/modules/create_activity/app/create_activity.test.ts > Testing Create Activity Presenter > should create an activity:
src/core/helpers/functions/token_auth.ts#L22
Error: secretOrPrivateKey must have a value
❯ Object.module.exports [as sign] node_modules/jsonwebtoken/sign.js:111:20
❯ TokenAuth.generate_token src/core/helpers/functions/token_auth.ts:22:20
❯ test/modules/create_activity/app/create_activity.test.ts:35:40
|
test/modules/create_activity/app/create_activity.test.ts > Testing Create Activity Presenter > should not create an activity with missing parameter title:
src/core/helpers/functions/token_auth.ts#L22
Error: secretOrPrivateKey must have a value
❯ Object.module.exports [as sign] node_modules/jsonwebtoken/sign.js:111:20
❯ TokenAuth.generate_token src/core/helpers/functions/token_auth.ts:22:20
❯ test/modules/create_activity/app/create_activity.test.ts:61:40
|
test/modules/create_activity/app/create_activity.test.ts > Testing Create Activity Presenter > should not create an activity with missing parameter description:
src/core/helpers/functions/token_auth.ts#L22
Error: secretOrPrivateKey must have a value
❯ Object.module.exports [as sign] node_modules/jsonwebtoken/sign.js:111:20
❯ TokenAuth.generate_token src/core/helpers/functions/token_auth.ts:22:20
❯ test/modules/create_activity/app/create_activity.test.ts:82:40
|
test/modules/create_institution/app/create_institution.test.ts > Testing Create Institution Presenter > should create an institution:
src/core/helpers/functions/token_auth.ts#L22
Error: secretOrPrivateKey must have a value
❯ Object.module.exports [as sign] node_modules/jsonwebtoken/sign.js:111:20
❯ TokenAuth.generate_token src/core/helpers/functions/token_auth.ts:22:20
❯ test/modules/create_institution/app/create_institution.test.ts:34:44
|
test/modules/create_institution/app/create_institution.test.ts > Testing Create Institution Presenter > should not create an institution with missing parameters:
src/core/helpers/functions/token_auth.ts#L22
Error: secretOrPrivateKey must have a value
❯ Object.module.exports [as sign] node_modules/jsonwebtoken/sign.js:111:20
❯ TokenAuth.generate_token src/core/helpers/functions/token_auth.ts:22:20
❯ test/modules/create_institution/app/create_institution.test.ts:60:44
|
test/modules/create_moderator/app/create_moderator.test.ts > Testing Create Moderator Presenter > should create a moderator:
src/core/helpers/functions/token_auth.ts#L22
Error: secretOrPrivateKey must have a value
❯ Object.module.exports [as sign] node_modules/jsonwebtoken/sign.js:111:20
❯ TokenAuth.generate_token src/core/helpers/functions/token_auth.ts:22:20
❯ test/modules/create_moderator/app/create_moderator.test.ts:17:44
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|