Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion auth-api/src/auth_api/services/products.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
get_product_notification_data,
get_product_notification_type,
)
from auth_api.utils.pay import get_account_fees
from auth_api.utils.roles import CLIENT_ADMIN_ROLES, CLIENT_AUTH_ROLES, GOV_ORG_TYPES, STAFF
from auth_api.utils.user_context import UserContext, user_context

Expand Down
7 changes: 4 additions & 3 deletions auth-api/tests/unit/api/test_org.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,9 +624,10 @@ def test_add_same_org_409(client, jwt, session, keycloak_mock): # pylint:disabl


def test_create_govn_org_with_products_single_staff_review_task(client, jwt, session, keycloak_mock, monkeypatch): # pylint:disable=unused-argument
"""Assert creating a GOVN org with product subscriptions creates only the org staff review task, not a product task.
Also asserts _check_gov_org_add_product_previously_approved: after approving org task, user removes
product then re-adds -> task_create_org (ACCOUNT_REVIEW+COMPLETED+ACTIVE).
"""Ensure GOVN org creation creates only a staff review task.

Verify task status updates correctly when a product is re-added
after approval.
"""
patch_pay_account_post(monkeypatch)

Expand Down