Skip to content

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

Update tests

michal3a7bdf3785a4
diff --git a/tests/dashboard/test_permissions.py b/tests/dashboard/test_permissions.py
index a0c8d2d917..2c72734689 100644
--- a/tests/dashboard/test_permissions.py
+++ b/tests/dashboard/test_permissions.py
@@ -727,7 +727,7 @@ def test_staff_create_email_with_set_link_password(
data = {'email': '[email protected]', 'groups': staff_group.pk,
'is_staff': True}
response = admin_client.post(url, data)
- assert User.objects.count() == 3
+ assert User.objects.count() == 2
assert len(mail.outbox) == 1
assert response['Location'] == reverse('dashboard:staff-list')