mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
Delete unexpected test case
This commit is contained in:
@@ -1811,19 +1811,12 @@ def test_view_broadcast_message_shows_correct_highlighted_navigation(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize('extra_broadcast_json_fields', (
|
|
||||||
# These should be ignored for broadcasts with a template
|
|
||||||
{'reference': 'foo'},
|
|
||||||
{'cap_event': 'bar'},
|
|
||||||
{},
|
|
||||||
))
|
|
||||||
def test_view_pending_broadcast(
|
def test_view_pending_broadcast(
|
||||||
mocker,
|
mocker,
|
||||||
client_request,
|
client_request,
|
||||||
service_one,
|
service_one,
|
||||||
fake_uuid,
|
fake_uuid,
|
||||||
active_user_approve_broadcasts_permission,
|
active_user_approve_broadcasts_permission,
|
||||||
extra_broadcast_json_fields,
|
|
||||||
):
|
):
|
||||||
broadcast_creator = create_active_user_create_broadcasts_permissions(with_unique_id=True)
|
broadcast_creator = create_active_user_create_broadcasts_permissions(with_unique_id=True)
|
||||||
mocker.patch(
|
mocker.patch(
|
||||||
@@ -1835,7 +1828,6 @@ def test_view_pending_broadcast(
|
|||||||
created_by_id=broadcast_creator['id'],
|
created_by_id=broadcast_creator['id'],
|
||||||
finishes_at=None,
|
finishes_at=None,
|
||||||
status='pending-approval',
|
status='pending-approval',
|
||||||
**extra_broadcast_json_fields
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
client_request.login(active_user_approve_broadcasts_permission)
|
client_request.login(active_user_approve_broadcasts_permission)
|
||||||
|
|||||||
Reference in New Issue
Block a user