mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 02:26:12 +02:00
Fix annotation document lock fixtures
This commit is contained in:
1 parent
1b74e3b88f
commit
4e096bef10
2 files changed
+9
No files matched your search
@@ -134,6 +134,9 @@ function makeDoc(overrides: Partial<IssueDocument> = {}): IssueDocument {
|
||||
createdByUserId: "user-1",
|
||||
updatedByAgentId: null,
|
||||
updatedByUserId: "user-1",
|
||||
lockedAt: null,
|
||||
lockedByAgentId: null,
|
||||
lockedByUserId: null,
|
||||
createdAt: new Date("2026-04-01T00:00:00Z"),
|
||||
updatedAt: new Date("2026-04-01T00:01:00Z"),
|
||||
...overrides,
|
||||
|
||||
@@ -216,6 +216,9 @@ const integratedDoc: IssueDocument = {
|
||||
createdByUserId: "user-1",
|
||||
updatedByAgentId: null,
|
||||
updatedByUserId: "user-1",
|
||||
lockedAt: null,
|
||||
lockedByAgentId: null,
|
||||
lockedByUserId: null,
|
||||
createdAt: new Date("2026-05-12T09:00:00Z"),
|
||||
updatedAt: new Date("2026-05-12T10:01:00Z"),
|
||||
};
|
||||
@@ -267,6 +270,9 @@ function makeIntegratedIssue(): Issue {
|
||||
createdByUserId: "user-1",
|
||||
updatedByAgentId: null,
|
||||
updatedByUserId: "user-1",
|
||||
lockedAt: integratedDoc.lockedAt,
|
||||
lockedByAgentId: integratedDoc.lockedByAgentId,
|
||||
lockedByUserId: integratedDoc.lockedByUserId,
|
||||
createdAt: integratedDoc.createdAt,
|
||||
updatedAt: integratedDoc.updatedAt,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user