mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-20 14:29:25 -04:00
Added functionality to archive a template.
Renamed migration file.
This commit is contained in:
@@ -21,7 +21,10 @@ def test_secret_is_signed_and_can_be_read_again(notify_api):
|
||||
assert signed_secret != token
|
||||
|
||||
|
||||
def test_save_api_key_should_create_new_api_key_and_history(notify_api, notify_db, notify_db_session, sample_service):
|
||||
def test_save_api_key_should_create_new_api_key_and_history(notify_api,
|
||||
notify_db,
|
||||
notify_db_session,
|
||||
sample_service):
|
||||
api_key = ApiKey(**{'service': sample_service,
|
||||
'name': sample_service.name,
|
||||
'created_by': sample_service.created_by})
|
||||
|
||||
Reference in New Issue
Block a user