diff --git a/flashcards/tests/test_api.py b/flashcards/tests/test_api.py index ca230cc..4fa9002 100644 --- a/flashcards/tests/test_api.py +++ b/flashcards/tests/test_api.py @@ -282,7 +282,7 @@ class SectionViewSetTest(APITestCase): def test_section_search(self): response = self.client.get('/api/sections/search/?q=Kramer') - self.assertEqual(response.status_code, HTTP_404_NOT_FOUND) + self.assertEqual(response.status_code, HTTP_200_OK) def test_section_deck(self): self.user.sections.add(self.section)