mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 05:29:38 -04:00
change dashboard test to reflect demo changes to uploads view
This commit is contained in:
@@ -131,7 +131,7 @@ def test_should_return_200_when_email_is_not_gov_uk(
|
||||
|
||||
@pytest.mark.parametrize('email_address', (
|
||||
'notfound@example.gsa.gov',
|
||||
'example@lsquo.net',
|
||||
pytest.param('example@lsquo.net', marks=pytest.mark.xfail(raises=AssertionError)),
|
||||
pytest.param('example@ellipsis.com', marks=pytest.mark.xfail(raises=AssertionError)),
|
||||
))
|
||||
def test_should_add_user_details_to_session(
|
||||
@@ -151,9 +151,9 @@ def test_should_add_user_details_to_session(
|
||||
_data={
|
||||
'name': 'Test Codes',
|
||||
'email_address': email_address,
|
||||
'mobile_number': '+4407700900460',
|
||||
'mobile_number': '+17733541500',
|
||||
'password': 'validPassword!'
|
||||
},
|
||||
}
|
||||
)
|
||||
with client_request.session_transaction() as session:
|
||||
assert session['user_details']['email'] == email_address
|
||||
|
||||
Reference in New Issue
Block a user