Fix broken graphql playground (#13287)
Fixes https://github.com/twentyhq/twenty/issues/12991 Also fixes a regression on main where updateEvent are not correctly emit when calling repository.update()
This commit is contained in:
+1
-1
@@ -285,7 +285,7 @@ describe('WorkspaceEntityManager', () => {
|
||||
it('should call createQueryBuilder with permissionOptions for update', async () => {
|
||||
await entityManager.update('test-entity', {}, {}, mockPermissionOptions);
|
||||
expect(entityManager['createQueryBuilder']).toHaveBeenCalledWith(
|
||||
undefined,
|
||||
'test-entity',
|
||||
undefined,
|
||||
undefined,
|
||||
mockPermissionOptions,
|
||||
|
||||
Reference in New Issue
Block a user