Add mocked service ID to all service-specific pages

This commit is contained in:
Chris Hill-Scott
2016-01-13 12:10:29 +00:00
parent a469cf6bcf
commit 04b9c120d4
39 changed files with 188 additions and 170 deletions

View File

@@ -28,7 +28,7 @@ def test_should_login_user_and_redirect_to_dashboard(notifications_admin, notifi
data={'sms_code': '12345'})
assert response.status_code == 302
assert response.location == url_for('main.dashboard', _external=True)
assert response.location == url_for('main.dashboard', service_id=123, _external=True)
def test_should_return_200_with_sms_code_error_when_sms_code_is_wrong(notifications_admin,