Skip to content

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

Remove fixme - user is active by default

Marcin Gębala6d12898fec19
diff --git a/saleor/graphql/account/mutations.py b/saleor/graphql/account/mutations.py
index 85f0dc4aa0..5202499e60 100644
--- a/saleor/graphql/account/mutations.py
+++ b/saleor/graphql/account/mutations.py
@@ -10,7 +10,6 @@ class UserInput(graphene.InputObjectType):
email = graphene.String(
description='The unique email address of the user.')
note = graphene.String(description='A note about the user.')
- # FIXME: decide what to do with is_active field.
class StaffInput(UserInput):
diff --git a/tests/api/test_account.py b/tests/api/test_account.py
index a61cef7be9..3efc9b957c 100644
--- a/tests/api/test_account.py
+++ b/tests/api/test_account.py
@@ -326,7 +326,6 @@ def test_staff_create(
assert data['user']['email'] == email
assert data['user']['isStaff'] == True
assert data['user']['isActive'] == True
- assert data['user']['isActive'] == True
permissions = data['user']['permissions']
assert permissions[0]['code'] == permission_view_user_codename
assert permissions[1]['code'] == permission_view_product_codename