- [x] findOne/findManyCalendarEvents / findOne/findManyMessages - add
integration tests
- [ ] ~~fix typing~~ - coming in new PR >
[Issue](https://github.com/twentyhq/core-team-issues/issues/976)
This commit is contained in:
Etienne
2025-05-16 11:38:34 +02:00
committed by GitHub
parent dc4bcc3049
commit 160eb23454
7 changed files with 185 additions and 1 deletions

View File

@ -2,6 +2,10 @@ import { WorkspaceEntityManager } from 'src/engine/twenty-orm/entity-manager/wor
const tableName = 'calendarEvent';
export const DEV_SEED_CALENDAR_EVENT_IDS = {
CALENDAR_EVENT_1: '86083141-1c0e-494c-a1b6-85b1c6fefaa5',
};
export const seedCalendarEvents = async (
entityManager: WorkspaceEntityManager,
schemaName: string,
@ -30,7 +34,7 @@ export const seedCalendarEvents = async (
.orIgnore()
.values([
{
id: '86083141-1c0e-494c-a1b6-85b1c6fefaa5',
id: DEV_SEED_CALENDAR_EVENT_IDS.CALENDAR_EVENT_1,
title: 'Meeting with Christoph',
isCanceled: false,
isFullDay: false,