From a94bb145064a4f47a8446c057a78485b88ddc094 Mon Sep 17 00:00:00 2001 From: Nora Date: Thu, 15 Aug 2019 09:59:18 -0400 Subject: [PATCH] fixup! --- .../relations/acceptance/belongs-to.relation.acceptance.ts | 2 +- .../relations/integration/belongs-to.factory.integration.ts | 6 +++--- .../relations/integration/has-many.factory.integration.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/repository-tests/src/relations/acceptance/belongs-to.relation.acceptance.ts b/packages/repository-tests/src/relations/acceptance/belongs-to.relation.acceptance.ts index aa960a134d28..3f6f85be24a4 100644 --- a/packages/repository-tests/src/relations/acceptance/belongs-to.relation.acceptance.ts +++ b/packages/repository-tests/src/relations/acceptance/belongs-to.relation.acceptance.ts @@ -27,7 +27,7 @@ export function belongsToRelationAcceptance( repositoryClass: CrudRepositoryCtor, features: CrudFeatures, ) { - describe('BelongsTo relation', () => { + describe('BelongsTo relation (acceptance)', () => { before(deleteAllModelsInDefaultDataSource); // Given a Customer and Order models - see definitions at the bottom diff --git a/packages/repository-tests/src/relations/integration/belongs-to.factory.integration.ts b/packages/repository-tests/src/relations/integration/belongs-to.factory.integration.ts index d1fc48d948a6..49210c3b17bf 100644 --- a/packages/repository-tests/src/relations/integration/belongs-to.factory.integration.ts +++ b/packages/repository-tests/src/relations/integration/belongs-to.factory.integration.ts @@ -40,7 +40,7 @@ export function belongsToFactorySuite( >; let orderRepo: EntityCrudRepository; - describe('BelongsTo relation', () => { + describe('BelongsTo relation (integration)', () => { let findCustomerOfOrder: BelongsToAccessor< Customer, typeof Order.prototype.id @@ -104,7 +104,7 @@ export function belongsToFactorySuite( customerId: number; static definition = new ModelDefinition('Order') - .addProperty('id', {type: 'number', id: true}) + .addProperty('id', {type: 'number', id: true, generated: true}) .addProperty('description', {type: 'string', required: true}) .addProperty('customerId', {type: 'number', required: true}) .addRelation({ @@ -123,7 +123,7 @@ export function belongsToFactorySuite( orders: Order[]; static definition: ModelDefinition = new ModelDefinition('Customer') - .addProperty('id', {type: 'number', id: true}) + .addProperty('id', {type: 'number', id: true, generated: true}) .addProperty('name', {type: 'string', required: true}) .addProperty('orders', {type: Order, array: true}) .addRelation({ diff --git a/packages/repository-tests/src/relations/integration/has-many.factory.integration.ts b/packages/repository-tests/src/relations/integration/has-many.factory.integration.ts index 2022a40519fd..c9df9541d696 100644 --- a/packages/repository-tests/src/relations/integration/has-many.factory.integration.ts +++ b/packages/repository-tests/src/relations/integration/has-many.factory.integration.ts @@ -41,7 +41,7 @@ export function hasManyFactorySuite( let orderRepo: EntityCrudRepository; let reviewRepo: EntityCrudRepository; - describe('HasMany relation', () => { + describe('HasMany relation (integration)', () => { let existingCustomerId: number; let customerOrderRepo: HasManyRepository;