Skip to content

Node.js based forum software built for the modern web

test: remove history test

Barış Soner Uşaklı9c16218668a3
diff --git a/test/flags.js b/test/flags.js
index b15be6c3c9..50f9c5543c 100644
--- a/test/flags.js
+++ b/test/flags.js
@@ -189,20 +189,6 @@ describe('Flags', () => {
await Groups.leave('Global Moderators', moderatorUid);
});
-
- it('should NOT show user history for regular moderators', async () => {
- const flagData = await request({
- uri: `${nconf.get('url')}/api/flags/1`,
- jar,
- headers: {
- 'x-csrf-token': csrfToken,
- },
- json: true,
- });
-
- assert(flagData.hasOwnProperty('history'));
- assert(flagData.history === null);
- });
});
describe('.list()', () => {