chore: rename collection creatorId to createdById (#1794)

This commit is contained in:
Rubén Moya
2021-01-12 08:17:31 +01:00
committed by GitHub
parent d258082c5f
commit 47369dd968
10 changed files with 46 additions and 27 deletions

View File

@@ -131,9 +131,9 @@ describe("#updateDocument", () => {
parentDocumentId: document.id,
collectionId: collection.id,
teamId: collection.teamId,
userId: collection.creatorId,
lastModifiedById: collection.creatorId,
createdById: collection.creatorId,
userId: collection.createdById,
lastModifiedById: collection.createdById,
createdById: collection.createdById,
title: "Child document",
text: "content",
});
@@ -184,9 +184,9 @@ describe("#removeDocument", () => {
parentDocumentId: document.id,
collectionId: collection.id,
teamId: collection.teamId,
userId: collection.creatorId,
lastModifiedById: collection.creatorId,
createdById: collection.creatorId,
userId: collection.createdById,
lastModifiedById: collection.createdById,
createdById: collection.createdById,
title: "Child document",
text: "content",
});
@@ -212,9 +212,9 @@ describe("#removeDocument", () => {
parentDocumentId: document.id,
collectionId: collection.id,
teamId: collection.teamId,
userId: collection.creatorId,
lastModifiedById: collection.creatorId,
createdById: collection.creatorId,
userId: collection.createdById,
lastModifiedById: collection.createdById,
createdById: collection.createdById,
publishedAt: new Date(),
title: "Child document",
text: "content",