mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-03 02:57:25 +02:00
resolve merge issues with stray INVESTIGATING statuses
This commit is contained in:
parent
267f76eb62
commit
0547e88b00
2 changed files with 3 additions and 3 deletions
|
@ -625,7 +625,7 @@ class DomainApplication(TimeStampedModel):
|
|||
def withdraw(self):
|
||||
"""Withdraw an application that has been submitted."""
|
||||
|
||||
@transition(field="status", source=[INVESTIGATING, APPROVED], target=REJECTED)
|
||||
@transition(field="status", source=[IN_REVIEW, APPROVED], target=REJECTED)
|
||||
def reject(self, updated_domain_application):
|
||||
"""Reject an application that has been submitted.
|
||||
|
||||
|
|
|
@ -164,7 +164,7 @@ class TestDomainApplicationAdmin(TestCase):
|
|||
|
||||
with boto3_mocking.clients.handler_for("sesv2", mock_client):
|
||||
# Create a sample application
|
||||
application = completed_application(status=DomainApplication.INVESTIGATING)
|
||||
application = completed_application(status=DomainApplication.IN_REVIEW)
|
||||
|
||||
# Create a mock request
|
||||
request = self.factory.post(
|
||||
|
@ -210,7 +210,7 @@ class TestDomainApplicationAdmin(TestCase):
|
|||
|
||||
with boto3_mocking.clients.handler_for("sesv2", mock_client):
|
||||
# Create a sample application
|
||||
application = completed_application(status=DomainApplication.INVESTIGATING)
|
||||
application = completed_application(status=DomainApplication.IN_REVIEW)
|
||||
|
||||
# Create a mock request
|
||||
request = self.factory.post(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue