Skip to content

Commit

Permalink
Fix assertion to destroyEvents test
Browse files Browse the repository at this point in the history
  • Loading branch information
bertrandda committed Mar 10, 2021
1 parent e3456e5 commit 2f12ed8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/test/lib/calendar/calendar.event.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ describe('calendar.destroy', () => {
describe('calendar.destroyEvents', () => {
const calendar = new Calendar();
it("should destroy all calendar's event", async () => {
await calendar.destroyEvents('0dc03aef-4a23-9c4e-88e3-5437971269e5');
await calendar.destroyEvents('07ec2599-3221-4d6c-ac56-41443973201b');
const allCalendarEvents = await calendar.getEvents('0cd30aef-9c4e-4a23-88e3-3547971296e5', '07ec2599-3221-4d6c-ac56-41443973201b');
assert.deepEqual(allCalendarEvents, []);
});
});

Expand Down

0 comments on commit 2f12ed8

Please sign in to comment.