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

@@ -34,8 +34,7 @@ def test_sign_out_user(notifications_admin,
with notifications_admin.test_client() as client:
client.login(user)
# Check we are logged in
response = client.get(
url_for('main.dashboard'))
response = client.get('/123/dashboard')
assert response.status_code == 200
response = client.get(url_for('main.sign_out'))
assert response.status_code == 302