From 9a9b29e271f7cd9ab4ae56155ce4ababe4cfed55 Mon Sep 17 00:00:00 2001 From: Erin <121973038+erinysong@users.noreply.github.com> Date: Wed, 20 Dec 2023 14:32:59 -0800 Subject: [PATCH] Remove unneeded user reset in views test --- src/registrar/tests/test_views.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/registrar/tests/test_views.py b/src/registrar/tests/test_views.py index e417eb697..b7ae8c613 100644 --- a/src/registrar/tests/test_views.py +++ b/src/registrar/tests/test_views.py @@ -2256,10 +2256,6 @@ class TestApplicationStatus(TestWithUser, WebTest): page = self.client.get(reverse(url_name, kwargs={"pk": application.pk})) self.assertEqual(page.status_code, 403) - # reset user status from restricted to unrestricted - self.user.status = None - self.user.save() - def test_application_status_no_permissions(self): """Can't access applications without being the creator.""" application = completed_application(status=DomainApplication.ApplicationStatus.SUBMITTED, user=self.user)