mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 21:28:25 -04:00
Add mocked service ID to all service-specific pages
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user