From eb0c499d91dccf51dcfab2608147d94f8cd0ff81 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 20 Jun 2023 16:57:40 -0500 Subject: [PATCH] factory: generate account on status if not provided --- app/soapbox/jest/factory.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/soapbox/jest/factory.ts b/app/soapbox/jest/factory.ts index 0e372697a..d991a2e07 100644 --- a/app/soapbox/jest/factory.ts +++ b/app/soapbox/jest/factory.ts @@ -87,6 +87,7 @@ function buildRelationship(props: PartialDeep = {}): Relationship function buildStatus(props: PartialDeep = {}) { return statusSchema.parse(Object.assign({ id: uuidv4(), + account: buildAccount(), }, props)); }