Commit 1acf45a73e2fa842156aa7ef1c1db904b13678ea

Authored by Rachel Lee
Exists in master

Merge branch 'master' of https://git.ucsd.edu/110swag/flashy-backend

Showing 1 changed file Side-by-side Diff

flashcards/tests/test_api.py View file @ 1acf45a
... ... @@ -270,6 +270,8 @@
270 270 self.assertEqual(response.status_code, HTTP_200_OK)
271 271  
272 272 def test_section_ordered_deck(self):
  273 + self.user.sections.add(self.section)
  274 + self.user.save()
273 275 response = self.client.get('/api/sections/1/ordered_deck/')
274 276 self.assertEqual(response.status_code, HTTP_200_OK)