Rename test values to clarify they're branding IDs

In response to: [^1]

[^1]: https://github.com/alphagov/notifications-admin/pull/4182#discussion_r832009706
This commit is contained in:
Ben Thorner
2022-03-22 13:02:39 +00:00
parent e7aeb72fd9
commit 6e81d05504
2 changed files with 5 additions and 5 deletions

View File

@@ -63,8 +63,8 @@ def test_get_available_choices_service_assigned_to_org(
('govuk_and_org', 'GOV.UK and Test Organisation'),
('organisation', 'Test Organisation'),
]),
('1234-abcd', [
('govuk', 'GOV.UK'),
('some-random-branding', [
('govuk', 'GOV.UK'), # central orgs can switch back to GOV.UK
('govuk_and_org', 'GOV.UK and Test Organisation'),
('organisation', 'Test Organisation'),
])
@@ -108,7 +108,7 @@ def test_get_available_choices_letter_branding_set(
mocker.patch(
'app.models.service.Service.letter_branding_id',
new_callable=PropertyMock,
return_value='1234-abcd',
return_value='some-random-branding',
)
options = get_available_choices(service, branding_type='letter')