Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandgeider committed Jul 7, 2024
1 parent 8210c86 commit e079e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wger/nutrition/tests/test_ingredient_overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_overview(self):
self.assertEqual(response.status_code, 200)
self.assertEqual(len(response.context['ingredients_list']), PAGINATION_OBJECTS_PER_PAGE)

rest_ingredients = 10
rest_ingredients = 11
response = self.client.get(reverse('nutrition:ingredient:list'), {'page': 3})
self.assertEqual(response.status_code, 200)
self.assertEqual(len(response.context['ingredients_list']), rest_ingredients)
Expand Down

0 comments on commit e079e14

Please sign in to comment.