You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are more than welcome to submit a pull request with these improvements. As long as there are no backwards compatibility issues, I'm sure we could get it merged in a future release without any issues.
https://github.com/eventfarm/restforcephp/blob/master/src/Rest/GuzzleRestClient.php#L34
uses the following construct:
This makes impossible to test an app relying upon restforcephp because we can hardly¹ mock the responses.
$this->client
being private, we can't overload it.Could you please improve the situation so that SF depending upon restforce can be tested?
¹ It's actually possible, but using a tons of boilerplate code and workarounds
The text was updated successfully, but these errors were encountered: