Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix not saving is_confirmed (#16421)

Krzysztof Waliczek2b7ecd77fe28
diff --git a/saleor/graphql/account/bulk_mutations/customer_bulk_update.py b/saleor/graphql/account/bulk_mutations/customer_bulk_update.py
index ad9d5c0c6a..78d0c75d00 100644
--- a/saleor/graphql/account/bulk_mutations/customer_bulk_update.py
+++ b/saleor/graphql/account/bulk_mutations/customer_bulk_update.py
@@ -525,6 +525,7 @@ class CustomerBulkUpdate(BaseMutation, I18nMixin):
"last_name",
"email",
"is_active",
+ "is_confirmed",
"note",
"language_code",
"external_reference",
diff --git a/saleor/graphql/account/tests/bulk_mutations/test_customer_bulk_update.py b/saleor/graphql/account/tests/bulk_mutations/test_customer_bulk_update.py
index 41cbaf26e2..9b44b90cf7 100644
--- a/saleor/graphql/account/tests/bulk_mutations/test_customer_bulk_update.py
+++ b/saleor/graphql/account/tests/bulk_mutations/test_customer_bulk_update.py
@@ -353,6 +353,7 @@ def test_customers_bulk_update_match_orders_and_gift_card_when_confirmed(
assert gift_card.created_by == customer_user
assert gift_card.created_by_email == customer_user.email
assert order.user == customer_user
+ assert customer_user.is_confirmed
def test_customers_bulk_update_using_external_refs(