diff --git a/opentech/apply/determinations/tests/test_views.py b/opentech/apply/determinations/tests/test_views.py index c6f1440411d027d6573a58adf1d5864257d1cc04..5004cb5d5a8f26a7d9d901052907ac764a8c8753 100644 --- a/opentech/apply/determinations/tests/test_views.py +++ b/opentech/apply/determinations/tests/test_views.py @@ -52,7 +52,7 @@ class DeterminationFormTestCase(BaseViewTestCase): def test_cant_access_wrong_status(self): submission = ApplicationSubmissionFactory(status='more_info') response = self.get_page(submission, 'form') - self.assertEqual(response.status_code, 403) + self.assertRedirects(response, self.absolute_url(submission.get_absolute_url())) def test_cant_resubmit_determination(self): submission = ApplicationSubmissionFactory(status='in_discussion', lead=self.user)