mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-27 22:00:59 -05:00
Merge pull request #787 from alphagov/message-limit-increase-fix
Increase daily message limit for unrestricted services
This commit is contained in:
@@ -148,7 +148,7 @@ def service_switch_live(service_id):
|
||||
current_service['active'],
|
||||
# TODO This limit should be set depending on the agreement signed by
|
||||
# with Notify.
|
||||
25000 if current_service['restricted'] else 50,
|
||||
250000 if current_service['restricted'] else 50,
|
||||
False if current_service['restricted'] else True,
|
||||
current_service['users'],
|
||||
current_service['email_from'])
|
||||
|
||||
@@ -80,7 +80,7 @@ def test_switch_service_to_live(app_,
|
||||
assert response.location == url_for(
|
||||
'main.service_settings',
|
||||
service_id=service_one['id'], _external=True)
|
||||
mock_update_service.assert_called_with(ANY, ANY, ANY, 25000, False, ANY, ANY)
|
||||
mock_update_service.assert_called_with(ANY, ANY, ANY, 250000, False, ANY, ANY)
|
||||
|
||||
|
||||
def test_switch_service_to_restricted(app_,
|
||||
|
||||
Reference in New Issue
Block a user