mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-05 08:40:29 -04:00
Update uses of encryption.encrypt to more accurate encryption.sign
This commit is contained in:
@@ -156,7 +156,7 @@ def test_notification_personalisation_getter_returns_empty_dict_from_None():
|
||||
|
||||
def test_notification_personalisation_getter_always_returns_empty_dict():
|
||||
noti = Notification()
|
||||
noti._personalisation = encryption.encrypt({})
|
||||
noti._personalisation = encryption.sign({})
|
||||
assert noti.personalisation == {}
|
||||
|
||||
|
||||
@@ -168,7 +168,7 @@ def test_notification_personalisation_setter_always_sets_empty_dict(input_value)
|
||||
noti = Notification()
|
||||
noti.personalisation = input_value
|
||||
|
||||
assert noti._personalisation == encryption.encrypt({})
|
||||
assert noti._personalisation == encryption.sign({})
|
||||
|
||||
|
||||
def test_notification_subject_is_none_for_sms(sample_service):
|
||||
|
||||
Reference in New Issue
Block a user