mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-20 14:29:25 -04:00
@@ -8,7 +8,7 @@ from flask import current_app
|
||||
from freezegun import freeze_time
|
||||
|
||||
from app.dao.service_user_dao import dao_get_service_user, dao_update_service_user
|
||||
from app.enums import AuthType, NotificationType, PermissionType
|
||||
from app.enums import AuthType, KeyType, NotificationType, PermissionType
|
||||
from app.models import Notification, Permission, User
|
||||
from tests.app.db import (
|
||||
create_organization,
|
||||
@@ -261,7 +261,7 @@ def test_post_user_attribute(admin_request, sample_user, user_attribute, user_va
|
||||
"newuser@mail.com",
|
||||
dict(
|
||||
api_key_id=None,
|
||||
key_type="normal",
|
||||
key_type=KeyType.NORMAL,
|
||||
notification_type=NotificationType.EMAIL,
|
||||
personalisation={
|
||||
"name": "Test User",
|
||||
@@ -280,7 +280,7 @@ def test_post_user_attribute(admin_request, sample_user, user_attribute, user_va
|
||||
"+4407700900460",
|
||||
dict(
|
||||
api_key_id=None,
|
||||
key_type="normal",
|
||||
key_type=KeyType.NORMAL,
|
||||
notification_type=NotificationType.SMS,
|
||||
personalisation={
|
||||
"name": "Test User",
|
||||
|
||||
Reference in New Issue
Block a user