mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user