Skip to content

Commit a48d266

Browse files
committed
#4090 fixed tests involving create/edit events and event types
1 parent 517c5a7 commit a48d266

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/backend/tests/test-utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,7 @@ export const createTestDesignReviewEvent = async () => {
622622
[testWorkPackage.workPackageId], // workPackageIds
623623
[], // scheduleSlots - empty for confirmation events
624624
new Date('2027-03-25T10:00:00'), // initialDateScheduled - required for requiresConfirmation events
625+
false, // sendSlackNotifications
625626
teamType.teamTypeId, // team type id
626627
'https://docs.google.com/document/d/test-design-review-questions', // questionDocument
627628
'Campus Center Room 101', // location

src/backend/tests/unit/calendar.test.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1737,6 +1737,7 @@ describe('Calendar Tests', () => {
17371737
[],
17381738
[],
17391739
[],
1740+
[],
17401741
true
17411742
)
17421743
).rejects.toThrow(new DeletedException('Event', event.eventId));
@@ -2014,8 +2015,7 @@ describe('Calendar Tests', () => {
20142015
false,
20152016
false,
20162017
false,
2017-
true,
2018-
false
2018+
true
20192019
);
20202020
});
20212021

@@ -2072,8 +2072,7 @@ describe('Calendar Tests', () => {
20722072
false,
20732073
false,
20742074
false,
2075-
true,
2076-
false
2075+
true
20772076
);
20782077

20792078
await expect(CalendarService.deleteEventType(adminUser, otherOrgEventType.eventTypeId, organization)).rejects.toThrow(

0 commit comments

Comments
 (0)