mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
Rename model
Reflects the new name of the feature. Note that the name of the underlying table hasn’t changed because it’s explicitly set to `service_whitelist`. Changing this will be a more involved process.
This commit is contained in:
@@ -17,7 +17,7 @@ from app.models import (
|
||||
PRIORITY,
|
||||
SMS_TYPE,
|
||||
Notification,
|
||||
ServiceWhitelist,
|
||||
ServiceGuestList,
|
||||
)
|
||||
|
||||
from tests.app.db import (
|
||||
@@ -270,7 +270,7 @@ def test_send_one_off_notification_raises_if_cant_send_to_recipient(
|
||||
service = create_service(restricted=True)
|
||||
template = create_template(service=service)
|
||||
dao_add_and_commit_guest_list_contacts([
|
||||
ServiceWhitelist.from_string(service.id, MOBILE_TYPE, '07700900123'),
|
||||
ServiceGuestList.from_string(service.id, MOBILE_TYPE, '07700900123'),
|
||||
])
|
||||
|
||||
post_data = {
|
||||
|
||||
Reference in New Issue
Block a user