diff --git a/generators/bootstrap-application/generator.spec.ts b/generators/bootstrap-application/generator.spec.ts index f2b4a7b60dac..7c71fc91f21a 100644 --- a/generators/bootstrap-application/generator.spec.ts +++ b/generators/bootstrap-application/generator.spec.ts @@ -74,7 +74,7 @@ const expectedEntity = entity => ({ otherDtoReferences: expect.any(Array), fields: entity.fields.map(expectedField), - relationships: entity.relationships.map(() => expect.any(Object)), + relationships: expect.any(Array), primaryKey: expectedPrimaryKey(entity.primaryKey), reactiveOtherEntities: expect.any(Set), reactiveUniqueEntityTypes: expect.any(Set),