mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
test: fix brackets
This commit is contained in:
@@ -737,7 +737,7 @@ describe('Groups', () => {
|
||||
const uid1 = await User.create({ username: utils.generateUUID().slice(0, 8) });
|
||||
const uid2 = await User.create({ username: utils.generateUUID().slice(0, 8) });
|
||||
|
||||
await assert.rejects(apiGroups.join({ uid: uid1 }, { slug: 'test', uid: uid2 }, { message: '[[error:not-allowed]]' }));
|
||||
await assert.rejects(apiGroups.join({ uid: uid1 }, { slug: 'test', uid: uid2 }), { message: '[[error:not-allowed]]' });
|
||||
});
|
||||
|
||||
it('should allow admins to join private groups', async () => {
|
||||
|
||||
Reference in New Issue
Block a user