mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
fix(tests): create test teams properly, adjust expectations
This commit is contained in:
@@ -36,7 +36,7 @@ describe('GET /tasks/group/:groupId', () => {
|
||||
|
||||
before(async () => {
|
||||
user = await generateUser();
|
||||
group = await generateGroup(user);
|
||||
group = await generateGroup(user, {}, { 'purchased.plan.customerId': 'group-unlimited' });
|
||||
});
|
||||
|
||||
it('returns error when group is not found', async () => {
|
||||
|
||||
Reference in New Issue
Block a user