Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add test for Adyen API version
fowczrekf4fdcc573714
diff --git a/saleor/payment/gateways/adyen/tests/test_adyen_version.py b/saleor/payment/gateways/adyen/tests/test_adyen_version.pynew file mode 100644index 0000000000..461163dbe2--- /dev/null+++ b/saleor/payment/gateways/adyen/tests/test_adyen_version.py@@ -0,0 +1,10 @@+from Adyen.settings import API_CHECKOUT_VERSION, API_PAYMENT_VERSION+++def test_adyen_api_version_not_changed():+ # We shouldn't bump the Adyen API version when we make a path release.+ # We could bump Adyen API when we make a major or minor release.+ # If we bump Adyen API we should provide it as breaking changes because+ # Saleor clients may require to update part of their code (e.g. in mobile devices).+ assert API_CHECKOUT_VERSION == "v64"+ assert API_PAYMENT_VERSION == "v64"