mirror of
https://github.com/GSA/notifications-api.git
synced 2026-06-19 20:50:35 -04:00
fix tests
This commit is contained in:
@@ -1714,6 +1714,9 @@ class Notification(db.Model):
|
||||
pass # do nothing because we don't have the message id yet
|
||||
else:
|
||||
fields[column.name] = value
|
||||
current_app.logger.warning(f"FIELDS {fields}")
|
||||
print(f"FIELDS {fields}", flush=True)
|
||||
|
||||
return fields
|
||||
raise ValueError("Provided object is not a SQLAlchemy instance")
|
||||
|
||||
|
||||
@@ -945,6 +945,7 @@ def test_save_sms_uses_sms_sender_reply_to_text(mocker, notify_db_session):
|
||||
notification_id,
|
||||
encryption.encrypt(notification),
|
||||
)
|
||||
|
||||
batch_insert_notifications()
|
||||
persisted_notification = Notification.query.one()
|
||||
assert persisted_notification.reply_to_text == "+12028675309"
|
||||
|
||||
Reference in New Issue
Block a user