You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sources/packages/backend/apps/api/src/services/application-offering-change-request/application-offering-change-request.service.ts
+2-2
Original file line number
Diff line number
Diff line change
@@ -504,7 +504,7 @@ export class ApplicationOfferingChangeRequestService {
Copy file name to clipboardExpand all lines: sources/packages/backend/apps/queue-consumers/src/processors/assessment/_tests_/cancel-application-assessment.processor.e2e-spec.ts
`Assessment id ${job.data.assessmentId} is not in ${StudentAssessmentStatus.CancellationQueued} status.`,
185
+
);
186
+
expect(result.summary).toContain(
187
+
"Workflow cancellation process not executed due to the assessment cancellation not being in the correct status.",
188
+
);
189
+
expect(job.discard).toBeCalled();
190
+
});
191
+
157
192
it("Should throw an error and call job.discard when the application is not in the expected status.",async()=>{
158
193
// Arrange
159
194
consterrorMessage=`Application must be in the ${ApplicationStatus.Cancelled} or ${ApplicationStatus.Overwritten} state to have the assessment cancelled.`;
0 commit comments