Skip to content

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

Fix stripe tests

Jakub Draganekbf21ed0e09f8
diff --git a/tests/gateway/stripe/test_stripe.py b/tests/gateway/stripe/test_stripe.py
index d11a5c2167..cbc15893ed 100644
--- a/tests/gateway/stripe/test_stripe.py
+++ b/tests/gateway/stripe/test_stripe.py
@@ -40,7 +40,7 @@ def gateway_config():
template_path="template.html",
connection_params={
"public_key": "public",
- "secret_key": "secret",
+ "private_key": "secret",
"store_name": "Saleor",
"store_image": "image.gif",
"prefill": True,
@@ -57,7 +57,7 @@ def sandbox_gateway_config(gateway_config):
if RECORD:
connection_params = {
"public_key": os.environ.get("STRIPE_PUBLIC_KEY"),
- "secret_key": os.environ.get("STRIPE_SECRET_KEY"),
+ "private_key": os.environ.get("STRIPE_SECRET_KEY"),
}
gateway_config.connection_params.update(connection_params)
return gateway_config