mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Add a component for picking the time to send a job
Users need to pick a time in the next 24hrs, or send a file immediately. Rationale for this is a bit lost in time-before-holiday, but generally: ‘Now’ and ‘later’ as the inital choices makes it really clear what this feature is about conceptually. The choice of times is absolute, eg ‘1pm’ not ‘in 3 hours’
This commit is contained in:
@@ -837,7 +837,7 @@ def mock_check_verify_code_code_expired(mocker):
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_create_job(mocker, api_user_active):
|
||||
def _create(job_id, service_id, template_id, file_name, notification_count):
|
||||
def _create(job_id, service_id, template_id, file_name, notification_count, scheduled_for=None):
|
||||
return job_json(
|
||||
service_id,
|
||||
api_user_active,
|
||||
|
||||
Reference in New Issue
Block a user