mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-24 18:09:13 -04:00
Added display of daily limit and remaining amount after csv upload
This commit is contained in:
@@ -322,7 +322,7 @@ def test_should_show_back_to_service_if_user_belongs_to_service(
|
||||
):
|
||||
mock_get_service.return_value = service_one
|
||||
expected_page_text = (
|
||||
'Test Service Switch service '
|
||||
'Test Service Daily Message Limit: 50 Switch service '
|
||||
''
|
||||
'Dashboard '
|
||||
'Send messages '
|
||||
|
||||
@@ -1751,7 +1751,7 @@ def test_upload_csvfile_with_valid_phone_shows_all_numbers(
|
||||
assert '202 867 0750' not in page.text
|
||||
assert 'Only showing the first 50 rows' in page.text
|
||||
|
||||
mock_get_notification_count.assert_called_once_with(service_one['id'])
|
||||
mock_get_notification_count.assert_called_with(service_one['id'])
|
||||
|
||||
|
||||
@pytest.mark.parametrize('international_sms_permission, should_allow_international', [
|
||||
|
||||
Reference in New Issue
Block a user