Skip to content

Optimize Projects #7692

Optimize Projects

Optimize Projects #7692

Triggered via pull request January 24, 2025 04:41
Status Failure
Total duration 1m 47s
Artifacts

run-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
tests/unit/design-review.test.ts > Design Reviews > Set status fails when user is not admin or creator: src/backend/tests/unit/design-review.test.ts#L60
AssertionError: expected a thrown error to be Error: Access Denied: admin and app-admin… { status: … } - Expected + Received - AccessDeniedException { + AccessDeniedAdminOnlyException { "message": "Access Denied: admin and app-admin only have the ability to set the status of a design review", "status": 403, } ❯ tests/unit/design-review.test.ts:60:5
tests/unit/recruitment.test.ts > Recruitment Tests > Get All FAQs > Create FAQ > Delete a single milestone > Fails if milestoneId is not found: src/backend/tests/unit/recruitment.test.ts#L249
AssertionError: expected a thrown error to be Error: Milestone with id: id1 not found! { status: … } - Expected + Received - HttpException { + NotFoundException { "message": "Milestone with id: id1 not found!", - "status": 400, + "status": 404, } ❯ tests/unit/recruitment.test.ts:249:11
tests/unit/work-package-template.test.ts > Work Package Template Tests > Delete single work package template > fails is the work package template ID is not found: src/backend/tests/unit/work-package-template.test.ts#L76
AssertionError: expected a thrown error to be Error: Work Package Template with id: id1… { status: … } - Expected + Received - HttpException { + NotFoundException { "message": "Work Package Template with id: id1 not found!", - "status": 400, + "status": 404, } ❯ tests/unit/work-package-template.test.ts:76:7
tests/unmocked/design-review.test.ts > Design Reviews > Set status fails when user is not admin or creator: src/backend/tests/unmocked/design-review.test.ts#L60
AssertionError: expected a thrown error to be Error: Access Denied: admin and app-admin… { status: … } - Expected + Received - AccessDeniedException { + AccessDeniedAdminOnlyException { "message": "Access Denied: admin and app-admin only have the ability to set the status of a design review", "status": 403, } ❯ tests/unmocked/design-review.test.ts:60:5
tests/unmocked/onboarding.test.ts > Onboarding tests > Delete Checklist > Fails if checklistId is not found: src/backend/tests/unmocked/onboarding.test.ts#L415
AssertionError: expected a thrown error to be Error: Checklist with id: id1 not found! { status: … } - Expected + Received - HttpException { + NotFoundException { "message": "Checklist with id: id1 not found!", - "status": 400, + "status": 404, } ❯ tests/unmocked/onboarding.test.ts:415:7
tests/unmocked/recruitment.test.ts > Recruitment Tests > Get All FAQs > Create FAQ > Delete a single milestone > Fails if milestoneId is not found: src/backend/tests/unmocked/recruitment.test.ts#L249
AssertionError: expected a thrown error to be Error: Milestone with id: id1 not found! { status: … } - Expected + Received - HttpException { + NotFoundException { "message": "Milestone with id: id1 not found!", - "status": 400, + "status": 404, } ❯ tests/unmocked/recruitment.test.ts:249:11
tests/unmocked/team-type.test.ts > Team Type Tests > Create Team Type > Create team type works: src/backend/tests/unmocked/team-type.test.ts#L80
AssertionError: expected { …(9) } to deeply equal { name: 'teamType3', …(6) } - Expected + Received { - "calendarId": "mocked-calendar-id", + "calendarId": null, + "dateDeleted": undefined, + "deletedById": undefined, "description": "", "iconName": "YouTubeIcon", "imageFileId": null, "name": "teamType3", "organizationId": "119e5f43-9bad-48c9-9556-6add85e9c129", "teamTypeId": "75f6d8c3-7af2-4a2d-8a8a-3638377ea051", } ❯ tests/unmocked/team-type.test.ts:80:22
tests/unmocked/work-package-template.test.ts > Work Package Template Tests > Delete single work package template > fails is the work package template ID is not found: src/backend/tests/unmocked/work-package-template.test.ts#L76
AssertionError: expected a thrown error to be Error: Work Package Template with id: id1… { status: … } - Expected + Received - HttpException { + NotFoundException { "message": "Work Package Template with id: id1 not found!", - "status": 400, + "status": 404, } ❯ tests/unmocked/work-package-template.test.ts:76:7
run-tests
Process completed with exit code 1.
run-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636