mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-28 01:21:13 +01:00
test: remove history test
This commit is contained in:
@@ -189,20 +189,6 @@ describe('Flags', () => {
|
|||||||
|
|
||||||
await Groups.leave('Global Moderators', moderatorUid);
|
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()', () => {
|
describe('.list()', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user