Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix tests
michal6bef44ca19be
diff --git a/tests/dashboard/test_customer.py b/tests/dashboard/test_customer.pyindex aa94182684..1a8a411b36 100644--- a/tests/dashboard/test_customer.py+++ b/tests/dashboard/test_customer.py@@ -20,4 +20,5 @@ def test_customer_promote_to_staff(admin_client, customer_user):data = {'pk': customer_user.pk}response = admin_client.post(url, data)assert User.objects.filter(is_staff=True).count() == 2- assert response['Location'] == reverse('dashboard:staff-list')+ assert response['Location'] == reverse('dashboard:customer-details',+ kwargs={'pk': customer_user.pk})