mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Add '/letter-branding' page to show all letter brands
This is a platform admin page which lists all letter brands and their domain. Once the page to edit a letter brand has been created, each brand will link to its edit page, but for now this is just a list of brand names and domains.
This commit is contained in:
@@ -40,6 +40,7 @@ def test_create_letter_branding(mocker):
|
||||
new_branding = {'filename': 'uuid-test', 'name': 'my letters', 'domain': 'example.com'}
|
||||
|
||||
mock_post = mocker.patch('app.notify_client.letter_branding_client.LetterBrandingClient.post')
|
||||
mock_redis_delete = mocker.patch('app.notify_client.RedisClient.delete')
|
||||
|
||||
LetterBrandingClient().create_letter_branding(
|
||||
filename=new_branding['filename'], name=new_branding['name'], domain=new_branding['domain']
|
||||
@@ -48,3 +49,5 @@ def test_create_letter_branding(mocker):
|
||||
url='/letter-branding',
|
||||
data=new_branding
|
||||
)
|
||||
|
||||
mock_redis_delete.assert_called_once_with('letter_branding')
|
||||
|
||||
Reference in New Issue
Block a user