mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
Fixed challenge count check (#10215)
This commit is contained in:
@@ -267,7 +267,7 @@ describe('GET challenges/user', () => {
|
|||||||
it('does not page challenges if page parameter is absent', async () => {
|
it('does not page challenges if page parameter is absent', async () => {
|
||||||
const challenges = await user.get('/challenges/user');
|
const challenges = await user.get('/challenges/user');
|
||||||
|
|
||||||
expect(challenges.length).to.eql(12);
|
expect(challenges.length).to.be.above(11);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('paginates challenges', async () => {
|
it('paginates challenges', async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user