From bf6ad628771dd8055adfed2acf11027211d3c945 Mon Sep 17 00:00:00 2001 From: Timothee Legros Date: Wed, 7 Aug 2024 20:52:23 +0200 Subject: [PATCH] test fix --- .../unit/server_controllers/server_topics_controller.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/commonwealth/test/unit/server_controllers/server_topics_controller.spec.ts b/packages/commonwealth/test/unit/server_controllers/server_topics_controller.spec.ts index e1a60385504..957627cfa4a 100644 --- a/packages/commonwealth/test/unit/server_controllers/server_topics_controller.spec.ts +++ b/packages/commonwealth/test/unit/server_controllers/server_topics_controller.spec.ts @@ -78,7 +78,7 @@ const createMockedTopicsController = (isAdmin: boolean = false) => { describe('ServerTopicsController', () => { test('#createTopic', async () => { - const { controller, user, chain } = createMockedTopicsController(); + const { controller, user, chain } = createMockedTopicsController(true); const [topic] = await Promise.all( await controller.createTopic({ user, @@ -99,7 +99,7 @@ describe('ServerTopicsController', () => { }); test('#deleteTopic', async () => { - const { controller, user } = createMockedTopicsController(); + const { controller, user } = createMockedTopicsController(true); await controller.deleteTopic({ user, topicId: 1,