diff --git a/packages/twenty-server/src/engine/core-modules/auth/token/services/refresh-token.service.spec.ts b/packages/twenty-server/src/engine/core-modules/auth/token/services/refresh-token.service.spec.ts index 5ac7ada615..a53238067d 100644 --- a/packages/twenty-server/src/engine/core-modules/auth/token/services/refresh-token.service.spec.ts +++ b/packages/twenty-server/src/engine/core-modules/auth/token/services/refresh-token.service.spec.ts @@ -66,8 +66,15 @@ describe('RefreshTokenService', () => { describe('verifyRefreshToken', () => { it('should verify a refresh token successfully', async () => { const mockToken = 'valid-refresh-token'; - const mockJwtPayload = { jti: 'token-id', sub: 'user-id' }; - const mockAppToken = { id: 'token-id', revokedAt: null }; + const mockJwtPayload = { + jti: 'token-id', + sub: 'user-id', + }; + const mockAppToken = { + id: 'token-id', + workspaceId: 'workspace-id', + revokedAt: null, + }; const mockUser: Partial = { id: 'some-id', firstName: 'John', diff --git a/packages/twenty-server/test/integration/metadata/suites/object-metadata/rename-custom-object.integration-spec.ts b/packages/twenty-server/test/integration/metadata/suites/object-metadata/rename-custom-object.integration-spec.ts index 9eb5773b29..ac4d836b49 100644 --- a/packages/twenty-server/test/integration/metadata/suites/object-metadata/rename-custom-object.integration-spec.ts +++ b/packages/twenty-server/test/integration/metadata/suites/object-metadata/rename-custom-object.integration-spec.ts @@ -5,8 +5,8 @@ import { createOneRelationMetadataFactory } from 'test/integration/metadata/suit import { deleteOneRelationMetadataItemFactory } from 'test/integration/metadata/suites/utils/delete-one-relation-metadata-factory.util'; import { fieldsMetadataFactory } from 'test/integration/metadata/suites/utils/fields-metadata-factory.util'; import { makeMetadataAPIRequest } from 'test/integration/metadata/suites/utils/make-metadata-api-request.util'; -import { objectsMetadataFactory } from 'test/integration/metadata/suites/utils/objects-metadata-factory.util'; -import { updateOneObjectMetadataItemFactory } from 'test/integration/metadata/suites/utils/update-one-object-metadata-factory.util'; +import { updateOneObjectMetadataItemFactory } from 'test/integration/metadata/suites/object-metadata/utils/update-one-object-metadata-factory.util'; +import { objectsMetadataFactory } from 'test/integration/metadata/suites/object-metadata/utils/objects-metadata-factory.util'; import { FieldMetadataType } from 'src/engine/metadata-modules/field-metadata/field-metadata.entity'; import { RelationMetadataType } from 'src/engine/metadata-modules/relation-metadata/relation-metadata.entity';