From 0c20d7cdeea406e299a323a66a43db29de6cee8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 3 May 2023 15:48:15 -0400 Subject: [PATCH] test: fix brackets --- test/groups.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () => {