Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Make CI green again
Jakub Draganekb420a48b6442
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex fcc9b4f43e..c247dfd9f9 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -18,6 +18,7 @@ All notable, unreleased changes to this project will be documented in this file.- Fix searches and pickers - #4487 by @dominik-zeglen- Fix dashboard menu styles - #4491 by @benekex2- Do not allow random ids to appear in snapshots - #4495 by @dominik-zeglen+- Create general abstraction for object metadata - #4447 by @salwator## 2.8.0@@ -53,7 +54,6 @@ All notable, unreleased changes to this project will be documented in this file.- Add ability to store used payment sources in gateways, first implemented in Braintree - #4195 by @salwator- Fix various bugs across product section - #4429 by @dominik-zeglen- Add company address configuration - #4432 by @benekex2-- Create general abstraction for object metadata - #4447 by @salwator## 2.7.0diff --git a/tests/api/test_payment.py b/tests/api/test_payment.pyindex 095b306f3b..b4f1f28f8c 100644--- a/tests/api/test_payment.py+++ b/tests/api/test_payment.py@@ -468,7 +468,11 @@ def braintree_customer_id():def test_store_payment_gateway_meta(customer_user, braintree_customer_id):gateway_name = PaymentGatewayEnum.BRAINTREE.name- META = {"payment-gateways": {gateway_name.upper(): {"customer_id": braintree_customer_id}}}+ META = {+ "payment-gateways": {+ gateway_name.upper(): {"customer_id": braintree_customer_id}+ }+ }store_customer_id(customer_user, gateway_name, braintree_customer_id)assert customer_user.private_meta == METAcustomer_user.refresh_from_db()diff --git a/tests/taxes/test_vatlayer.py b/tests/taxes/test_vatlayer.pyindex 8fabe8df14..fb1d8cf9d7 100644--- a/tests/taxes/test_vatlayer.py+++ b/tests/taxes/test_vatlayer.py@@ -64,7 +64,8 @@ def test_view_checkout_with_taxes(checkout.save()product = checkout.lines.first().variant.productproduct.private_meta = {- "taxes": {"vatlayer": {"code": "standard", "description": ""}}}+ "taxes": {"vatlayer": {"code": "standard", "description": ""}}+ }product.save()response = client.get(reverse("checkout:index"))response_checkout_line = response.context[0]["checkout_lines"][0]