From cd86035588f4e175d27f747428950a7252f18474 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 26 Oct 2021 15:30:59 +0100 Subject: [PATCH] :Use more realistic test data --- tests/app/main/views/test_broadcast.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/app/main/views/test_broadcast.py b/tests/app/main/views/test_broadcast.py index 239f7630f..f7cc63d75 100644 --- a/tests/app/main/views/test_broadcast.py +++ b/tests/app/main/views/test_broadcast.py @@ -1875,18 +1875,18 @@ def test_view_pending_broadcast( @pytest.mark.parametrize('extra_broadcast_json_fields, expected_banner_text', ( - ({'reference': 'No template test'}, ( - 'Test User Create Broadcasts Permission wants to broadcast No template test ' + ({'reference': 'ABC123'}, ( + 'Test User Create Broadcasts Permission wants to broadcast ABC123 ' 'No phones will get this alert. ' 'Start broadcasting now Reject this alert' )), - ({'cap_event': 'No template test'}, ( - 'Test User Create Broadcasts Permission wants to broadcast No template test ' + ({'cap_event': 'Severe flood warning'}, ( + 'Test User Create Broadcasts Permission wants to broadcast Severe flood warning ' 'No phones will get this alert. ' 'Start broadcasting now Reject this alert' )), - ({'cap_event': 'EVENT', 'reference': 'REFERENCE'}, ( - 'Test User Create Broadcasts Permission wants to broadcast EVENT ' + ({'cap_event': 'Severe flood warning', 'reference': 'ABC123'}, ( + 'Test User Create Broadcasts Permission wants to broadcast Severe flood warning ' 'No phones will get this alert. ' 'Start broadcasting now Reject this alert' )),