Skip to content

Commit

Permalink
fix failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ajain-1 committed Feb 28, 2025
1 parent ba503b8 commit 6e8ccf0
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions test/topics/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,20 +84,6 @@ describe('Topic Events', () => {
});
});

// describe('.checkAdmin()', () => {
// it('this should make sure that the topic gets a proper tag', async () => {
// const topicData = await topics.getTopic(topic.topicData.tid);
// assert(topicData);
// assert(topicData.user);
// let role = 'user';
// const isAdmin = await user.isAdministrator(topicData.user.uid);
// if (isAdmin) {
// role = 'Admin';
// }
// assert.strictEqual(topicData.user.adminrole, role);
// });
// });

describe('.purge()', () => {
let eventIds;

Expand Down

0 comments on commit 6e8ccf0

Please sign in to comment.