From 25534dbee36a7ac31ed6ef746074938674cf0afb Mon Sep 17 00:00:00 2001 From: Pea Tyczynska Date: Mon, 1 Feb 2021 14:05:10 +0000 Subject: [PATCH] Remove 'billing' from option labels They were unnecessary it turned out. --- app/main/forms.py | 6 +++--- tests/app/main/views/test_service_settings.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/main/forms.py b/app/main/forms.py index 6ae82b6ad..2d70a5af1 100644 --- a/app/main/forms.py +++ b/app/main/forms.py @@ -1687,9 +1687,9 @@ class EditServiceNotesForm(StripWhitespaceForm): class ServiceBillingDetailsForm(StripWhitespaceForm): - billing_contact_email_addresses = GovukTextInputField('Billing contact email addresses') - billing_contact_names = GovukTextInputField('Billing contact names') - billing_reference = GovukTextInputField('Billing reference') + billing_contact_email_addresses = GovukTextInputField('Contact email addresses') + billing_contact_names = GovukTextInputField('Contact names') + billing_reference = GovukTextInputField('Reference') purchase_order_number = GovukTextInputField('Purchase order number') notes = TextAreaField(validators=[]) diff --git a/tests/app/main/views/test_service_settings.py b/tests/app/main/views/test_service_settings.py index 5eed8f35a..eba95138b 100644 --- a/tests/app/main/views/test_service_settings.py +++ b/tests/app/main/views/test_service_settings.py @@ -5312,9 +5312,9 @@ def test_view_edit_service_billing_details( assert page.select_one('h1').text == "Change billing details" labels = page.find_all('label', class_="form-label") labels_list = [ - 'Billing contact email addresses', - 'Billing contact names', - 'Billing reference', + 'Contact email addresses', + 'Contact names', + 'Reference', 'Purchase order number', 'Notes' ]