Changed some more instances of "confirmation" code to "security" code

This commit is contained in:
Martyn Inglis
2016-08-22 12:52:05 +01:00
parent e610d83be4
commit 380a6526c4
5 changed files with 8 additions and 8 deletions

View File

@@ -66,7 +66,7 @@ def test_should_render_correct_resend_template_for_pending_user(app_,
page = BeautifulSoup(response.data.decode('utf-8'), 'html.parser')
assert page.h1.string == 'Check your mobile number'
expected = 'Check your mobile phone number is correct and then resend the confirmation code.'
expected = 'Check your mobile phone number is correct and then resend the security code.'
message = page.find_all('p')[1].text
assert message == expected
assert page.find('form').input['value'] == api_user_pending.mobile_number