From 06f2c7eaaab4e943c27c022cbba1e34e98ad7bd4 Mon Sep 17 00:00:00 2001
From: Chris Hill-Scott
- Rejected {{ item.updated_at|format_datetime_relative }} + {{ item.updated_at|format_date_human|title }} at {{ item.updated_at|format_time }}
{% elif item.status == 'broadcasting' %}@@ -28,7 +28,7 @@
{% else %}- Broadcast {{ item.starts_at|format_datetime_relative }} + {{ item.starts_at|format_date_human|title }} at {{ item.starts_at|format_time }}
{% endif %} diff --git a/tests/app/main/views/test_broadcast.py b/tests/app/main/views/test_broadcast.py index 36a687d6f..4b3f4511e 100644 --- a/tests/app/main/views/test_broadcast.py +++ b/tests/app/main/views/test_broadcast.py @@ -420,8 +420,8 @@ def test_previous_broadcasts_page( normalize_spaces(row.text) for row in page.select('.ajax-block-container')[0].select('.file-list') ] == [ - 'Example template This is a test Broadcast yesterday at 2:20pm England Scotland', - 'Example template This is a test Broadcast yesterday at 2:20am England Scotland', + 'Example template This is a test Yesterday at 2:20pm England Scotland', + 'Example template This is a test Yesterday at 2:20am England Scotland', ] button = page.select_one( @@ -455,7 +455,7 @@ def test_rejected_broadcasts_page( normalize_spaces(row.text) for row in page.select('.ajax-block-container')[0].select('.file-list') ] == [ - 'Example template This is a test Rejected today at 1:20am England Scotland', + 'Example template This is a test Today at 1:20am England Scotland', ] button = page.select_one(