mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 18:46:01 +01:00
tests: fix privileges in test runner
This commit is contained in:
@@ -211,7 +211,6 @@ Notes.assertTopic = async (uid, id) => {
|
||||
// Privilege check for local categories
|
||||
const privilege = `topics:${tid ? 'reply' : 'create'}`;
|
||||
const allowed = await privileges.categories.can(privilege, cid, activitypub._constants.uid);
|
||||
console.log(privilege, cid, allowed);
|
||||
if (!allowed) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user