fix(tests): update challenges

This commit is contained in:
SabreCat
2023-07-26 16:59:57 -05:00
parent d394858022
commit 7607c67070
7 changed files with 93 additions and 125 deletions

View File

@@ -79,6 +79,7 @@ describe('POST /challenges', () => {
});
groupLeader = await populatedGroup.groupLeader.sync();
await groupLeader.update({ permissions: {} });
group = populatedGroup.group;
groupMember = populatedGroup.members[0]; // eslint-disable-line prefer-destructuring
});