Skip to content

Commit

Permalink
test: delete left over department
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego committed Sep 1, 2024
1 parent 9e8f39a commit b50a952
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/meteor/tests/end-to-end/api/livechat/00-rooms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2468,6 +2468,10 @@ describe('LIVECHAT - rooms', () => {
await updateSetting('Unread_Count_Omni', 'all_messages');
});

after(async () => {
await deleteDepartment(departmentWithAgent.department._id);
});

it('it should prepare the required data for further tests', async () => {
departmentWithAgent = await createDepartmentWithAnOnlineAgent();
visitor = await createVisitor(departmentWithAgent.department._id);
Expand Down

0 comments on commit b50a952

Please sign in to comment.