Skip to content

update mail

update mail #224

GitHub Actions / JUnit Test Report failed Jan 28, 2025 in 0s

318 tests run, 313 passed, 0 skipped, 5 failed.

Annotations

Check failure on line 1 in ProposalCrudService findDocument should find a proposal with diz member projection

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ProposalCrudService findDocument should find a proposal with diz member projection

Error: expect(jest.fn()).toBeCalledWith(...expected)
Raw output
Error: expect(jest.fn()).toBeCalledWith(...expected)

- Expected
+ Received

  "proposalId",
@@ -1,9 +1,11 @@
  Object {
    "conditionalApprovals": 1,
    "dizApprovedLocations": 1,
+   "locationConditionDraft": 1,
    "openDizChecks": 1,
+   "openDizConditionChecks": 1,
    "owner": 1,
    "reports.content": 1,
    "requestedButExcludedLocations": 1,
    "signedContracts": 1,
    "uacApprovedLocations": 1,,

Number of calls: 1
    at Object.<anonymous> (/home/runner/work/fdpg-api/fdpg-api/src/modules/proposal/services/__tests__/proposal-crud.service.spec.ts:268:38)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)

Check failure on line 1 in ProposalCrudService findDocument should find a proposal with uac member projection

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ProposalCrudService findDocument should find a proposal with uac member projection

Error: expect(jest.fn()).toBeCalledWith(...expected)
Raw output
Error: expect(jest.fn()).toBeCalledWith(...expected)

- Expected
+ Received

  "proposalId",
@@ -1,8 +1,10 @@
  Object {
    "conditionalApprovals": 1,
    "dizApprovedLocations": 1,
+   "locationConditionDraft": 1,
+   "openDizConditionChecks": 1,
    "owner": 1,
    "reports.content": 1,
    "requestedButExcludedLocations": 1,
    "signedContracts": 1,
    "uacApprovedLocations": 1,,

Number of calls: 1
    at Object.<anonymous> (/home/runner/work/fdpg-api/fdpg-api/src/modules/proposal/services/__tests__/proposal-crud.service.spec.ts:293:38)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)

Check failure on line 1 in StatusChangeService handleEffects LOCATION_CHECK should handle the new status correctly (allLocations: true)

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

StatusChangeService handleEffects LOCATION_CHECK should handle the new status correctly (allLocations: true)

Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
Raw output
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)

- Expected
+ Received

  {"_id": "proposalId", "dizApprovedLocations": [], "numberOfRequestedLocations": 37, "openDizChecks": ["MRI", "KUM", "UKT", "UKU", "UKR", "UKS", "UKAU", "Charité", "UMG", "MHH", …], "projectAbbreviation": "projectAbbreviation", "requestedButExcludedLocations": [], "signedContracts": [], "status": "LOCATION_CHECK", "statusChangeToLocationCheckAt": 2025-01-28T10:55:38.874Z, "uacApprovals": [{}], "uacApprovedLocations": [], "userProject": {"addressees": {"desiredLocations": ["MRI", "KUM", "UKT", "UKU", "UKR", "UKS", "UKAU", "Charité", "UMG", "MHH", …]}}, "version": {"mayor": 2, "minor": 0}},
- Array [
-   "REMINDER_FDPG_CHECK",
- ]
+ Array [],

Number of calls: 1
    at /home/runner/work/fdpg-api/fdpg-api/src/modules/proposal/services/__tests__/status-change.service.spec.ts:179:67
    at processTicksAndRejections (node:internal/process/task_queues:105:5)

Check failure on line 1 in StatusChangeService handleEffects LOCATION_CHECK should handle the new status correctly (allLocations: false)

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

StatusChangeService handleEffects LOCATION_CHECK should handle the new status correctly (allLocations: false)

Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
Raw output
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)

- Expected
+ Received

  {"_id": "proposalId", "dizApprovedLocations": [], "numberOfRequestedLocations": 1, "openDizChecks": ["UKL"], "projectAbbreviation": "projectAbbreviation", "requestedButExcludedLocations": [], "signedContracts": [], "status": "LOCATION_CHECK", "statusChangeToLocationCheckAt": 2025-01-28T10:55:38.907Z, "uacApprovals": [{}], "uacApprovedLocations": [], "userProject": {"addressees": {"desiredLocations": ["UKL"]}}, "version": {"mayor": 2, "minor": 0}},
- Array [
-   "REMINDER_FDPG_CHECK",
- ]
+ Array [],

Number of calls: 1
    at /home/runner/work/fdpg-api/fdpg-api/src/modules/proposal/services/__tests__/status-change.service.spec.ts:179:67
    at processTicksAndRejections (node:internal/process/task_queues:105:5)

Check failure on line 1 in util clearLocationsVotes should clear the locations votes

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

util clearLocationsVotes should clear the locations votes.location-flow.util clearLocationsVotes should clear the locations votes

TypeError: Cannot read properties of undefined (reading 'filter')
    at filter (/home/runner/work/fdpg-api/fdpg-api/src/modules/proposal/utils/location-flow.util.ts:13:69)
Raw output
TypeError: Cannot read properties of undefined (reading 'filter')
    at filter (/home/runner/work/fdpg-api/fdpg-api/src/modules/proposal/utils/location-flow.util.ts:13:69)
    at Object.<anonymous> (/home/runner/work/fdpg-api/fdpg-api/src/modules/proposal/utils/__tests__/location-flow.util.spec.ts:69:26)
    at Promise.then.completed (/home/runner/work/fdpg-api/fdpg-api/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/fdpg-api/fdpg-api/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/fdpg-api/fdpg-api/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (/home/runner/work/fdpg-api/fdpg-api/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/fdpg-api/fdpg-api/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/fdpg-api/fdpg-api/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/fdpg-api/fdpg-api/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/fdpg-api/fdpg-api/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/fdpg-api/fdpg-api/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/fdpg-api/fdpg-api/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/fdpg-api/fdpg-api/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/fdpg-api/fdpg-api/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/fdpg-api/fdpg-api/node_modules/jest-runner/build/testWorker.js:106:12)