Compare commits
2 commits
b5a692b47c
...
8650d91edb
Author | SHA1 | Date | |
---|---|---|---|
8650d91edb | |||
728c73b23d |
1 changed files with 14 additions and 1 deletions
|
@ -19,7 +19,20 @@ describe('Calendar Merging API', () => {
|
|||
});
|
||||
|
||||
test('Merge date-based calendar', async () => {
|
||||
|
||||
const response = await request(app)
|
||||
.post('/merge')
|
||||
.send({
|
||||
linkGroupName: 'Date Based Calendar',
|
||||
calendars: [
|
||||
{
|
||||
url: 'https://www.schulferien.org/media/ical/deutschland/ferien_bayern_2023.ics?k=PsL0S2B9rScFMn5PAxtf4OVQjMkWZsqqkK13zEJ0FCW5Q-2xQejfLJYaTN4EdYUsQHLDDbGVnVl93ms7en5vMUISjZ3H9Esu88Vp2ndnL5Q',
|
||||
prefix: 'Date Event',
|
||||
override: false,
|
||||
},
|
||||
],
|
||||
});
|
||||
expect(response.status).toBe(200);
|
||||
expect(response.body.url).toMatch(/calendar\/Date_Based_Calendar/);
|
||||
})
|
||||
|
||||
});
|
Loading…
Add table
Reference in a new issue