Skip to content

Commit

Permalink
* Fix the test to conform to the view.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgroff committed Oct 17, 2018
1 parent 4d2bd41 commit 2eab79a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_archive():
},
follow=True
)
assert response.redirect_chain[0][0] == reverse('projects:document_archive', args=[project.pk, document.pk])
assert response.redirect_chain[0][0] == reverse('projects:project', args=[project.pk])
assert response.redirect_chain[0][1] == HTTP_302_FOUND

document.refresh_from_db()
Expand Down

0 comments on commit 2eab79a

Please sign in to comment.