mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-30 11:19:44 -04:00
Use service_has_permission decorator on inbox
This proves that the decorator works, because the inbox code is already
tested:
bad1e69cc3/tests/app/main/views/test_dashboard.py (L353-L367)
This commit is contained in:
@@ -396,6 +396,7 @@ def test_view_inbox_updates(
|
||||
mocker,
|
||||
mock_get_most_recent_inbound_sms_with_no_messages,
|
||||
):
|
||||
service_one['permissions'] += ['inbound_sms']
|
||||
|
||||
mock_get_partials = mocker.patch(
|
||||
'app.main.views.dashboard.get_inbox_partials',
|
||||
|
||||
Reference in New Issue
Block a user