From 9c16218668a3ec901d9a827905d60b55923f3900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 11 Apr 2023 15:55:22 -0400 Subject: [PATCH] test: remove history test --- test/flags.js | 14 -------------- 1 file changed, 14 deletions(-) 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()', () => {