Follow sentence case for "Withdraw request" (#563)

* Follow sentence case for "Withdraw request"

* Update test_views.py
This commit is contained in:
Michelle Rago 2023-05-01 15:09:29 -04:00 committed by GitHub
parent 6e7ab85e78
commit 685e2b7a17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@
<b class="review__step__name">Request #:</b> {{domainapplication.id}}</p>
<p>{% include "includes/domain_application.html" %}</p>
<p><a href="{% url 'application-withdraw-confirmation' domainapplication.id %}" class="usa-button usa-button--outline withdraw_outline">
Withdraw Request</a>
Withdraw request</a>
</p>
</div>

View file

@ -1327,7 +1327,7 @@ class TestApplicationStatus(TestWithUser, WebTest):
self.assertContains(detail_page, "Admin Tester")
self.assertContains(detail_page, "Status:")
# click the "Withdraw request" button
withdraw_page = detail_page.click("Withdraw Request")
withdraw_page = detail_page.click("Withdraw request")
self.assertContains(withdraw_page, "Withdraw request for")
home_page = withdraw_page.click("Withdraw request")
# confirm that it has redirected, and the status has been updated to withdrawn