mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 15:15:38 -05:00
Working code and tests.
This commit is contained in:
@@ -52,7 +52,7 @@ def test_get_jobs_for_service(notify_db, notify_db_session, sample_template):
|
||||
other_user = create_user(notify_db, notify_db_session,
|
||||
email="test@digital.cabinet-office.gov.uk")
|
||||
other_service = create_service(notify_db, notify_db_session,
|
||||
user=other_user)
|
||||
user=other_user, service_name="other service")
|
||||
other_template = create_template(notify_db, notify_db_session,
|
||||
service=other_service)
|
||||
other_job = create_job(notify_db, notify_db_session, service=other_service,
|
||||
|
||||
@@ -12,7 +12,7 @@ def test_create_user(notify_api, notify_db, notify_db_session):
|
||||
'name': 'Test User',
|
||||
'email_address': email,
|
||||
'password': 'password',
|
||||
'mobile_number': '+44 7700 900986'
|
||||
'mobile_number': '+447700900986'
|
||||
}
|
||||
user = User(**data)
|
||||
save_model_user(user)
|
||||
|
||||
Reference in New Issue
Block a user