From d75920718f172d7f35d830e12dce773249acdce8 Mon Sep 17 00:00:00 2001 From: Chewbacca Date: Wed, 31 May 2023 08:57:43 -0400 Subject: [PATCH] Fix group factory --- app/soapbox/jest/factory.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/soapbox/jest/factory.ts b/app/soapbox/jest/factory.ts index 019b0b17f..9bc4217f6 100644 --- a/app/soapbox/jest/factory.ts +++ b/app/soapbox/jest/factory.ts @@ -40,6 +40,9 @@ function buildCard(props: Partial = {}): Card { function buildGroup(props: Partial = {}): Group { return groupSchema.parse(Object.assign({ id: uuidv4(), + owner: { + id: uuidv4(), + }, }, props)); }