Skip to content

Commit

Permalink
fix moderation test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dnouv committed May 10, 2023
1 parent 0b11e25 commit 288a3e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/meteor/tests/end-to-end/api/27-moderation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ describe('[Moderation]', function () {
});

// create a reported message by sending a request to chat.reportMessage
before(async () => {
beforeEach(async () => {
await request
.post(api('chat.reportMessage'))
.set(credentials)
Expand All @@ -112,7 +112,7 @@ describe('[Moderation]', function () {
});
});

before(async () => {
beforeEach(async () => {
await request
.get(api('moderation.reportsByUsers'))
.set(credentials)
Expand Down

0 comments on commit 288a3e5

Please sign in to comment.