mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-14 21:44:08 +02:00
updated to main
This commit is contained in:
parent
e7936cef5f
commit
91532adc30
3 changed files with 9 additions and 9 deletions
|
@ -16,7 +16,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a href="{% namespaced_url 'domain-request' this_step %}"
|
<a href="{% namespaced_url 'domain-request' this_step %}"
|
||||||
{% if this_step == steps.current %}
|
{% if this_step = steps.current %}
|
||||||
class="usa-current"
|
class="usa-current"
|
||||||
{% else %}
|
{% else %}
|
||||||
class="link_usa-checked"
|
class="link_usa-checked"
|
||||||
|
|
|
@ -111,6 +111,7 @@
|
||||||
|
|
||||||
{% if DomainRequest.creator %}
|
{% if DomainRequest.creator %}
|
||||||
{% include "includes/summary_item.html" with title='Your contact information' value=DomainRequest.creator contact='true' heading_level=heading_level %}
|
{% include "includes/summary_item.html" with title='Your contact information' value=DomainRequest.creator contact='true' heading_level=heading_level %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if DomainRequest.other_contacts.all %}
|
{% if DomainRequest.other_contacts.all %}
|
||||||
{% include "includes/summary_item.html" with title='Other employees from your organization' value=DomainRequest.other_contacts.all contact='true' list='true' heading_level=heading_level %}
|
{% include "includes/summary_item.html" with title='Other employees from your organization' value=DomainRequest.other_contacts.all contact='true' list='true' heading_level=heading_level %}
|
||||||
|
|
|
@ -510,8 +510,6 @@ class HomeTests(TestWithUser):
|
||||||
)
|
)
|
||||||
self.client.force_login(restricted_user)
|
self.client.force_login(restricted_user)
|
||||||
response = self.client.get("/request/", follow=True)
|
response = self.client.get("/request/", follow=True)
|
||||||
print('response')
|
|
||||||
print(response)
|
|
||||||
self.assertEqual(response.status_code, 403)
|
self.assertEqual(response.status_code, 403)
|
||||||
restricted_user.delete()
|
restricted_user.delete()
|
||||||
|
|
||||||
|
@ -772,6 +770,7 @@ class FinishUserProfileTests(TestWithUser, WebTest):
|
||||||
self.assertContains(completed_setup_page, "You’re about to start your .gov domain request")
|
self.assertContains(completed_setup_page, "You’re about to start your .gov domain request")
|
||||||
incomplete_regular_user.delete()
|
incomplete_regular_user.delete()
|
||||||
|
|
||||||
|
|
||||||
class FinishUserProfileForOtherUsersTests(TestWithUser, WebTest):
|
class FinishUserProfileForOtherUsersTests(TestWithUser, WebTest):
|
||||||
"""A series of tests that target the user profile page intercept for incomplete IAL1 user profiles."""
|
"""A series of tests that target the user profile page intercept for incomplete IAL1 user profiles."""
|
||||||
|
|
||||||
|
@ -972,7 +971,7 @@ class UserProfileTests(TestWithUser, WebTest):
|
||||||
|
|
||||||
@less_console_noise_decorator
|
@less_console_noise_decorator
|
||||||
def test_domain_your_contact_information(self):
|
def test_domain_your_contact_information(self):
|
||||||
"""test that Your contact information is not accessible """
|
"""test that Your contact information is not accessible"""
|
||||||
response = self.client.get(f"/domain/{self.domain.id}/your-contact-information", follow=True)
|
response = self.client.get(f"/domain/{self.domain.id}/your-contact-information", follow=True)
|
||||||
self.assertEqual(response.status_code, 404)
|
self.assertEqual(response.status_code, 404)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue