Skip to content

Commit c2d1e74

Browse files
committed
#4148: fixed merge conflicts
1 parent c353145 commit c2d1e74

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

src/backend/src/utils/errors.utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,5 +214,5 @@ export type ExceptionObjectNames =
214214
| 'Guest Definition'
215215
| 'ProspectiveSponsor'
216216
| 'SponsorTier'
217-
| 'Guest Defenition'
217+
| 'Guest Definition'
218218
| 'Meeting Attendance';

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,11 +397,10 @@ describe('Recruitment Tests', () => {
397397
});
398398

399399
it('Get a single guest defenition fails', async () => {
400-
const nonExistingGuestId = 'nonExistingGuest';
401400
const nonExistingDefinitionId = 'nonExistingDefinition';
402-
await expect(async () =>
403-
RecruitmentServices.getGuestDefinition(nonExistingGuestId, orgId, nonExistingDefinitionId)
404-
).rejects.toThrow(new NotFoundException('User', nonExistingGuestId));
401+
await expect(async () => RecruitmentServices.getGuestDefinition(orgId, nonExistingDefinitionId)).rejects.toThrow(
402+
new NotFoundException('Guest Definition', nonExistingDefinitionId)
403+
);
405404
});
406405
});
407406
describe('Edit Guest Definition', () => {

0 commit comments

Comments
 (0)