good forst commit

This commit is contained in:
2026-06-09 02:02:40 +05:30
parent 801c1d7121
commit 249d759e6a
215 changed files with 15425 additions and 1240 deletions
@@ -22,8 +22,14 @@ describe('PrismaService', () => {
});
it('creates and retrieves a Group, then cleans up', async () => {
const tenant = await prisma.tenant.upsert({
where: { slug: 'default' },
update: {},
create: { id: 'tnt_test', slug: 'default', name: 'Default Tenant' },
});
const group = await prisma.group.create({
data: {
tenantId: tenant.id,
platform: 'whatsapp',
platformId: `test-group-${Date.now()}@g.us`,
name: 'Test Group',