Added display of daily limit and remaining amount after csv upload

This commit is contained in:
Andrew Shumway
2023-05-15 14:37:05 -06:00
parent 855ddbb9e4
commit d2fd5ab07d
6 changed files with 21 additions and 4 deletions

View File

@@ -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 '

View File

@@ -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', [