mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
Prepare to stop inserting NotificationHistory at the time of inserting a notificaiton.
Need to remove foreign key to complaints. Make sure if getting Notification.id we look to both tables.
This commit is contained in:
@@ -262,7 +262,7 @@ def test_toggle_sms_provider_switches_provider_stores_notify_user_id_in_history(
|
||||
assert old_provider_from_history.created_by_id == sample_user.id
|
||||
|
||||
|
||||
def test_can_get_all_provider_history(current_sms_provider):
|
||||
def test_can_get_all_provider_history(restore_provider_details, current_sms_provider):
|
||||
assert len(dao_get_provider_versions(current_sms_provider.id)) == 1
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user