mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
restore email sign in code expiry functionality
reverts 789112a31f
however, keeps the changes to the tests as they were an improvement
This commit is contained in:
@@ -453,10 +453,7 @@ def test_user_verify_email_code(admin_request, sample_user, auth_type):
|
||||
|
||||
|
||||
@pytest.mark.parametrize('code_type', [
|
||||
pytest.param(
|
||||
EMAIL_TYPE,
|
||||
marks=pytest.mark.xfail(raises=AssertionError, reason='Email code expiry disabled'),
|
||||
),
|
||||
EMAIL_TYPE,
|
||||
SMS_TYPE
|
||||
])
|
||||
@freeze_time('2016-01-01T12:00:00')
|
||||
|
||||
Reference in New Issue
Block a user