updated to main

This commit is contained in:
asaki222 2024-09-11 16:36:58 -04:00
parent e7936cef5f
commit 91532adc30
No known key found for this signature in database
GPG key ID: 2C4F802060E06EA4
3 changed files with 9 additions and 9 deletions

View file

@ -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"

View file

@ -110,7 +110,8 @@
{% endif %} {% endif %}
{% 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 %}

View file

@ -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, "Youre about to start your .gov domain request") self.assertContains(completed_setup_page, "Youre 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)