Revert "Merge pull request #3238 from alphagov/cookies-update"

This reverts commit eec4bec761, reversing
changes made to 64480e2fff.
This commit is contained in:
Leo Hemsted
2020-01-15 14:40:48 +00:00
parent 04b9fa8927
commit 66db735e09
36 changed files with 116 additions and 1610 deletions

View File

@@ -22,7 +22,7 @@ def test_should_render_email_verification_resend_show_email_address_and_resend_v
assert page.h1.string == 'Check your email'
expected = "A new confirmation email has been sent to {}".format(api_user_active['email_address'])
message = page.select('main p')[0].text
message = page.find_all('p')[1].text
assert message == expected
mock_send_verify_email.assert_called_with(api_user_active['id'], api_user_active['email_address'])
@@ -66,7 +66,7 @@ def test_should_render_correct_resend_template_for_pending_user(
assert page.h1.string == 'Check your mobile number'
expected = 'Check your mobile phone number is correct and then resend the security code.'
message = page.select('main p')[0].text
message = page.find_all('p')[1].text
assert message == expected
assert page.find('form').input['value'] == api_user_pending['mobile_number']