tests: fix privileges in test runner

This commit is contained in:
Julian Lam
2024-02-26 14:22:35 -05:00
parent 563db78f87
commit aadac7053a
4 changed files with 7 additions and 33 deletions

View File

@@ -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;
}