updated tests

This commit is contained in:
David Kennedy 2025-02-12 21:10:22 -05:00
parent 6537c93e63
commit 86fbac8249
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
5 changed files with 71 additions and 75 deletions

View file

@ -843,7 +843,7 @@ class DomainRequestStatus(DetailView):
return context
@grant_access(IS_DOMAIN_REQUEST_CREATOR)
@grant_access(IS_DOMAIN_REQUEST_CREATOR, HAS_PORTFOLIO_DOMAIN_REQUESTS_EDIT)
class DomainRequestWithdrawConfirmation(DetailView):
"""This page will ask user to confirm if they want to withdraw
@ -857,7 +857,7 @@ class DomainRequestWithdrawConfirmation(DetailView):
context_object_name = "DomainRequest"
@grant_access(IS_DOMAIN_REQUEST_CREATOR)
@grant_access(IS_DOMAIN_REQUEST_CREATOR, HAS_PORTFOLIO_DOMAIN_REQUESTS_EDIT)
class DomainRequestWithdrawn(DetailView):
# this view renders no template
template_name = ""