diff --git a/tests/unit/services/group-sync.test.ts b/tests/unit/services/group-sync.test.ts index 44ee12c..7773d05 100644 --- a/tests/unit/services/group-sync.test.ts +++ b/tests/unit/services/group-sync.test.ts @@ -151,8 +151,8 @@ describe('GroupSyncService', () => { // Clear cache and add test groups GroupSyncService.activeGroupsCache.clear(); db.exec('DELETE FROM groups'); - db.exec("INSERT INTO groups (id, name, active) VALUES ('active-group', 'Active Group', 1)"); - db.exec("INSERT INTO groups (id, name, active) VALUES ('inactive-group', 'Inactive Group', 0)"); + db.exec("INSERT INTO groups (id, community_id, name, active) VALUES ('active-group', 'test-community', 'Active Group', 1)"); + db.exec("INSERT INTO groups (id, community_id, name, active) VALUES ('inactive-group', 'test-community', 'Inactive Group', 0)"); // Populate cache GroupSyncService['cacheActiveGroups'](); });