mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 18:01:08 -05:00
Merge branch 'master' into reduce-updates-to-notification
This commit is contained in:
@@ -161,11 +161,12 @@ def test_send_notification_with_placeholders_replaced(notify_api, sample_email_t
|
||||
),
|
||||
'6',
|
||||
),
|
||||
pytest.mark.xfail((
|
||||
pytest.param(
|
||||
None,
|
||||
('we consider None equivalent to missing personalisation'),
|
||||
'',
|
||||
)),
|
||||
marks=pytest.mark.xfail
|
||||
),
|
||||
])
|
||||
def test_send_notification_with_placeholders_replaced_with_unusual_types(
|
||||
client,
|
||||
|
||||
@@ -25,6 +25,7 @@ def test_create_letter_notification_creates_notification(sample_letter_template,
|
||||
assert notification.key_type == sample_api_key.key_type
|
||||
assert notification.reference is not None
|
||||
assert notification.client_reference is None
|
||||
assert notification.postage == 'second'
|
||||
|
||||
|
||||
def test_create_letter_notification_sets_reference(sample_letter_template, sample_api_key):
|
||||
|
||||
Reference in New Issue
Block a user