included in review and action needed

This commit is contained in:
David Kennedy 2024-03-27 08:18:16 -04:00
parent 018a2c353e
commit 7cff8362b7
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
2 changed files with 2 additions and 2 deletions

View file

@ -1335,7 +1335,7 @@ class DomainRequestAdmin(ListHeaderAdmin):
if not bool(request.GET) and request.path not in http_referer:
# modify the GET of the request to set the selected filter
modified_get = request.GET.copy()
modified_get["status__in"] = "submitted"
modified_get["status__in"] = "submitted,in review,action needed"
request.GET = modified_get
response = super().changelist_view(request, extra_context=extra_context)
return response

View file

@ -723,7 +723,7 @@ class TestDomainRequestAdmin(MockEppLib):
completed_domain_request()
response = self.client.get("/admin/registrar/domainrequest/")
# The results are filtered by "status in [submitted]"
self.assertContains(response, "status in [submitted]", count=1)
self.assertContains(response, "status in [submitted,in review,action needed]", count=1)
def transition_state_and_send_email(self, domain_request, status, rejection_reason=None):
"""Helper method for the email test cases."""