diff --git a/flashcards/tests/test_api.py b/flashcards/tests/test_api.py index 6d3d02c..30d9ce8 100644 --- a/flashcards/tests/test_api.py +++ b/flashcards/tests/test_api.py @@ -357,7 +357,7 @@ class SectionViewSetTest(APITestCase): mask=None).save() response = self.client.get('/api/sections/{}/feed/'.format(self.section.pk)) self.assertEqual(response.status_code, HTTP_200_OK) - self.assertEqual(response.data[0]['id'], 1) + self.assertEqual(response.data[1]['id'], 1) self.flashcard.hide_from(self.user) response = self.client.get('/api/sections/{}/feed/'.format(self.section.pk)) self.assertEqual(response.status_code, HTTP_200_OK)