mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 08:44:23 -04:00
Merge pull request #3985 from alphagov/revert-3800-reduce-default-broadcast-expiry
Revert "Reduce default broadcast expiry time"
This commit is contained in:
@@ -252,7 +252,7 @@ class BroadcastMessage(JSONModel):
|
||||
self._update(
|
||||
starts_at=datetime.utcnow().isoformat(),
|
||||
finishes_at=(
|
||||
datetime.utcnow() + timedelta(hours=4, minutes=0)
|
||||
datetime.utcnow() + timedelta(hours=23, minutes=59)
|
||||
).isoformat(),
|
||||
)
|
||||
self._set_status_to('broadcasting')
|
||||
|
||||
@@ -2457,7 +2457,7 @@ def test_confirm_approve_broadcast(
|
||||
broadcast_message_id=fake_uuid,
|
||||
data={
|
||||
'starts_at': '2020-02-22T22:22:22',
|
||||
'finishes_at': '2020-02-23T02:22:22',
|
||||
'finishes_at': '2020-02-23T22:21:22',
|
||||
},
|
||||
)
|
||||
mock_update_broadcast_message_status.assert_called_once_with(
|
||||
|
||||
Reference in New Issue
Block a user