Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timolegros committed Aug 7, 2024
1 parent ec986b7 commit bf6ad62
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -99,7 +99,7 @@ describe('ServerTopicsController', () => {
});

test('#deleteTopic', async () => {
const { controller, user } = createMockedTopicsController();
const { controller, user } = createMockedTopicsController(true);
await controller.deleteTopic({
user,
topicId: 1,
Expand Down

0 comments on commit bf6ad62

Please sign in to comment.