Skip to content

Node.js based forum software built for the modern web

test: fix brackets

Barış Soner Uşaklı0c20d7cdeea4
diff --git a/test/groups.js b/test/groups.js
index bc9b0cb2ef..06a31dd7c5 100644
--- a/test/groups.js
+++ b/test/groups.js
@@ -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 () => {