test: remove history test

This commit is contained in:
Barış Soner Uşaklı
2023-04-11 15:55:22 -04:00
parent 59b149784f
commit 9c16218668

View File

@@ -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()', () => {