mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: tests
This commit is contained in:
@@ -740,9 +740,10 @@ describe('Flags', function () {
|
||||
const category = await Categories.create({ name: 'private category' });
|
||||
|
||||
await Privileges.categories.rescind(['groups:topics:read'], category.cid, 'registered-users');
|
||||
await Groups.join('private category', uid3);
|
||||
const result = await Topics.post({
|
||||
cid: category.cid,
|
||||
uid: adminUid,
|
||||
uid: uid3,
|
||||
title: 'private topic',
|
||||
content: 'private post',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user