mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 19:09:22 +02:00
included in review and action needed
This commit is contained in:
parent
018a2c353e
commit
7cff8362b7
2 changed files with 2 additions and 2 deletions
|
@ -1335,7 +1335,7 @@ class DomainRequestAdmin(ListHeaderAdmin):
|
||||||
if not bool(request.GET) and request.path not in http_referer:
|
if not bool(request.GET) and request.path not in http_referer:
|
||||||
# modify the GET of the request to set the selected filter
|
# modify the GET of the request to set the selected filter
|
||||||
modified_get = request.GET.copy()
|
modified_get = request.GET.copy()
|
||||||
modified_get["status__in"] = "submitted"
|
modified_get["status__in"] = "submitted,in review,action needed"
|
||||||
request.GET = modified_get
|
request.GET = modified_get
|
||||||
response = super().changelist_view(request, extra_context=extra_context)
|
response = super().changelist_view(request, extra_context=extra_context)
|
||||||
return response
|
return response
|
||||||
|
|
|
@ -723,7 +723,7 @@ class TestDomainRequestAdmin(MockEppLib):
|
||||||
completed_domain_request()
|
completed_domain_request()
|
||||||
response = self.client.get("/admin/registrar/domainrequest/")
|
response = self.client.get("/admin/registrar/domainrequest/")
|
||||||
# The results are filtered by "status in [submitted]"
|
# 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):
|
def transition_state_and_send_email(self, domain_request, status, rejection_reason=None):
|
||||||
"""Helper method for the email test cases."""
|
"""Helper method for the email test cases."""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue