feat: Admin Area Challenges: List, Import/Export and Add/Edit Modal
This commit is contained in:
@@ -98,12 +98,12 @@ describe('AdminCategoriesService - CRUD + business rules', () => {
|
||||
name: 'challenge',
|
||||
descriptionMd: '',
|
||||
categoryId: c.id,
|
||||
difficulty: 'low',
|
||||
difficulty: 'LOW',
|
||||
initialPoints: 100,
|
||||
minimumPoints: 50,
|
||||
decaySolves: 5,
|
||||
flag: 'flag{...}',
|
||||
protocol: 'nc',
|
||||
protocol: 'NC',
|
||||
ipAddress: '',
|
||||
}));
|
||||
await expect(categories.remove(c.id)).rejects.toMatchObject({ status: 409 });
|
||||
|
||||
Reference in New Issue
Block a user