mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-13 04:59:59 +02:00
Follow sentence case for "Withdraw request" (#563)
* Follow sentence case for "Withdraw request" * Update test_views.py
This commit is contained in:
parent
6e7ab85e78
commit
685e2b7a17
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@
|
||||||
<b class="review__step__name">Request #:</b> {{domainapplication.id}}</p>
|
<b class="review__step__name">Request #:</b> {{domainapplication.id}}</p>
|
||||||
<p>{% include "includes/domain_application.html" %}</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">
|
<p><a href="{% url 'application-withdraw-confirmation' domainapplication.id %}" class="usa-button usa-button--outline withdraw_outline">
|
||||||
Withdraw Request</a>
|
Withdraw request</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1327,7 +1327,7 @@ class TestApplicationStatus(TestWithUser, WebTest):
|
||||||
self.assertContains(detail_page, "Admin Tester")
|
self.assertContains(detail_page, "Admin Tester")
|
||||||
self.assertContains(detail_page, "Status:")
|
self.assertContains(detail_page, "Status:")
|
||||||
# click the "Withdraw request" button
|
# 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")
|
self.assertContains(withdraw_page, "Withdraw request for")
|
||||||
home_page = withdraw_page.click("Withdraw request")
|
home_page = withdraw_page.click("Withdraw request")
|
||||||
# confirm that it has redirected, and the status has been updated to withdrawn
|
# confirm that it has redirected, and the status has been updated to withdrawn
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue