mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
change total message limit to 100000
This commit is contained in:
@@ -224,7 +224,7 @@ def sample_service(sample_user):
|
||||
data = {
|
||||
"name": service_name,
|
||||
"message_limit": 1000,
|
||||
"total_message_limit": 250000,
|
||||
"total_message_limit": 100000,
|
||||
"restricted": False,
|
||||
"email_from": email_from,
|
||||
"created_by": sample_user,
|
||||
|
||||
@@ -121,7 +121,7 @@ def create_service(
|
||||
email_from=None,
|
||||
prefix_sms=True,
|
||||
message_limit=1000,
|
||||
total_message_limit=250000,
|
||||
total_message_limit=100000,
|
||||
organization_type=OrganizationType.FEDERAL,
|
||||
check_if_service_exists=False,
|
||||
go_live_user=None,
|
||||
|
||||
@@ -397,7 +397,7 @@ def test_create_service(
|
||||
"name": "created service",
|
||||
"user_id": str(sample_user.id),
|
||||
"message_limit": 1000,
|
||||
"total_message_limit": 250000,
|
||||
"total_message_limit": 100000,
|
||||
"restricted": False,
|
||||
"active": False,
|
||||
"email_from": "created.service",
|
||||
@@ -468,7 +468,7 @@ def test_create_service_with_domain_sets_organization(
|
||||
"name": "created service",
|
||||
"user_id": str(sample_user.id),
|
||||
"message_limit": 1000,
|
||||
"total_message_limit": 250000,
|
||||
"total_message_limit": 100000,
|
||||
"restricted": False,
|
||||
"active": False,
|
||||
"email_from": "created.service",
|
||||
@@ -495,7 +495,7 @@ def test_create_service_should_create_annual_billing_for_service(
|
||||
"name": "created service",
|
||||
"user_id": str(sample_user.id),
|
||||
"message_limit": 1000,
|
||||
"total_message_limit": 250000,
|
||||
"total_message_limit": 100000,
|
||||
"restricted": False,
|
||||
"active": False,
|
||||
"email_from": "created.service",
|
||||
@@ -520,7 +520,7 @@ def test_create_service_should_raise_exception_and_not_create_service_if_annual_
|
||||
"name": "created service",
|
||||
"user_id": str(sample_user.id),
|
||||
"message_limit": 1000,
|
||||
"total_message_limit": 250000,
|
||||
"total_message_limit": 100000,
|
||||
"restricted": False,
|
||||
"active": False,
|
||||
"email_from": "created.service",
|
||||
@@ -557,7 +557,7 @@ def test_create_service_inherits_branding_from_organization(
|
||||
"name": "created service",
|
||||
"user_id": str(sample_user.id),
|
||||
"message_limit": 1000,
|
||||
"total_message_limit": 250000,
|
||||
"total_message_limit": 100000,
|
||||
"restricted": False,
|
||||
"active": False,
|
||||
"email_from": "created.service",
|
||||
@@ -576,7 +576,7 @@ def test_should_not_create_service_with_missing_user_id_field(notify_api, fake_u
|
||||
"email_from": "service",
|
||||
"name": "created service",
|
||||
"message_limit": 1000,
|
||||
"total_message_limit": 250000,
|
||||
"total_message_limit": 100000,
|
||||
"restricted": False,
|
||||
"active": False,
|
||||
"created_by": str(fake_uuid),
|
||||
@@ -597,7 +597,7 @@ def test_should_error_if_created_by_missing(notify_api, sample_user):
|
||||
"email_from": "service",
|
||||
"name": "created service",
|
||||
"message_limit": 1000,
|
||||
"total_message_limit": 250000,
|
||||
"total_message_limit": 100000,
|
||||
"restricted": False,
|
||||
"active": False,
|
||||
"user_id": str(sample_user.id),
|
||||
@@ -623,7 +623,7 @@ def test_should_not_create_service_with_missing_if_user_id_is_not_in_database(
|
||||
"user_id": fake_uuid,
|
||||
"name": "created service",
|
||||
"message_limit": 1000,
|
||||
"total_message_limit": 250000,
|
||||
"total_message_limit": 100000,
|
||||
"restricted": False,
|
||||
"active": False,
|
||||
"created_by": str(fake_uuid),
|
||||
@@ -666,7 +666,7 @@ def test_should_not_create_service_with_duplicate_name(
|
||||
"name": sample_service.name,
|
||||
"user_id": str(sample_service.users[0].id),
|
||||
"message_limit": 1000,
|
||||
"total_message_limit": 250000,
|
||||
"total_message_limit": 100000,
|
||||
"restricted": False,
|
||||
"active": False,
|
||||
"email_from": "sample.service2",
|
||||
@@ -694,7 +694,7 @@ def test_create_service_should_throw_duplicate_key_constraint_for_existing_email
|
||||
"name": service_name,
|
||||
"user_id": str(first_service.users[0].id),
|
||||
"message_limit": 1000,
|
||||
"total_message_limit": 250000,
|
||||
"total_message_limit": 100000,
|
||||
"restricted": False,
|
||||
"active": False,
|
||||
"email_from": "first.service",
|
||||
@@ -1220,7 +1220,7 @@ def test_default_permissions_are_added_for_user_service(
|
||||
"name": "created service",
|
||||
"user_id": str(sample_user.id),
|
||||
"message_limit": 1000,
|
||||
"total_message_limit": 250000,
|
||||
"total_message_limit": 100000,
|
||||
"restricted": False,
|
||||
"active": False,
|
||||
"email_from": "created.service",
|
||||
|
||||
Reference in New Issue
Block a user