#smartkiparis
1 messages · Page 1 of 1 (latest)
Hi 👋
I"m not clear on exactly what you are trying to do here
Okay, I am writing a Unit test
in services.yaml I pass a fake api_client_key, so that a constructor may be properly invoked
I mock Stripe and StripeClient
But they throw an error that my stripe_api_key is wrong
One method in my StripeApiClient as an example
But they throw an error that my stripe_api_key is wrong
Isn't that what you would expect?
Unfortunately then you would need to not use the Stripe Client then