Skip to content

Commit

Permalink
Update tests for redirect from manuscript ID not found
Browse files Browse the repository at this point in the history
  • Loading branch information
dchiller committed Nov 20, 2023
1 parent c56ee21 commit b330181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/public/cantusdata/test/core/views/test_manuscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_get_private_detail(self):
if not manuscript:
self.fail("No manuscripts loading!")
response = self.client.get("/manuscript/{0}/".format(manuscript.id))
self.assertEqual(response.status_code, status.HTTP_404_NOT_FOUND)
self.assertEqual(response.status_code, status.HTTP_302_FOUND)

def tearDown(self):
Chant.objects.all().delete()
Expand Down

0 comments on commit b330181

Please sign in to comment.